paren_brace_linter flags the "){" within regex definition below:
#' Checks if a file has a .tar or .tar.bz2 extension
#'
#' @noRd
.is_tar_file <- function(x) {
grepl(pattern = ".*\\.tar(\\.bz2){0,1}", x)
}
Should paren_brace_linter be made more strict - so that it doesn't consider strings?
paren_brace_linterflags the "){" within regex definition below:Should
paren_brace_linterbe made more strict - so that it doesn't consider strings?