file_spec | R Documentation |
Specify which files to include
file_spec( path, pattern = NULL, format = c("binary", "text"), recursive = TRUE, ignore_case = TRUE, all_files = FALSE )
path |
Path relative to the package root), for example, |
pattern |
Regular expression for matching the file names. |
format |
File format type, one of |
recursive |
List files in the sub-directories? |
ignore_case |
Should pattern-matching be case-insensitive? |
all_files |
List all files including the invisible ones? |
Most of the parameters are passed through list.files()
.
A file specification object.
The contents of this section are shown in PDF user manual only.
file_spec( "R/", pattern = "\\.R$", format = "text", recursive = FALSE, ignore_case = TRUE, all_files = FALSE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.