Print a file specification
# S3 method for class 'file_spec'
print(x, ...)An object of class file_spec.
Additional parameters for print() (not used).
The input file_spec object.
The contents of this section are shown in PDF user manual only.
fs <- file_spec(
"R/",
pattern = "\\.R$", format = "text",
recursive = FALSE, ignore_case = TRUE, all_files = FALSE
)
fs
#> -- File specification ----------------------------------------------------
#> - Relative path: "R/"
#> - Pattern: "\\.R$"
#> - Format: "text"
#> - Recursive: FALSE
#> - Ignore case: TRUE
#> - All files: FALSE