Description Usage Arguments Details Value Examples
Reading R files for package dependency checks.
readPackageFiles
assumes the selected path is a package, and will check the R
subdirectory for files
to read. readDirectoryFiles
is a more generic version of readPackageFiles
1 2 3 4 5 | readPackageRFiles(path = ".")
readDirectoryRFiles(path = ".")
readRFiles(files, path = NULL)
|
path |
Location of the package or directory to import R files from |
files |
Vector of R file paths to import |
The default directory for readFiles
is NULL
, to allow the reading of files from multiple directories.
A character vector containing unique code chunks in the specified directory/files.
1 2 3 4 5 6 7 | ## Not run:
readPackageRFiles()
# When running outside of a package
readDirectoryRFiles("R")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.