R/check.R

Defines functions check_filename

check_filename <- function(x) {
  if (str_detect(x, "\"|\\[|\\]")) error(x, " is not a valid file name")
  invisible(x)
}
poissonconsulting/subfoldr documentation built on Feb. 18, 2021, 11:17 p.m.