View source: R/source_directory.R
Modification of sourceDirectory
which repairs the
behaviour of the ... argument, so that chdir
and local
can be
passed to sourceTo
.
1 2 3 | source_directory(path, pattern = ".*[.](r|R|s|S|q)([.](lnk|LNK))*$",
recursive = TRUE, envir = parent.frame(), onError = c("error",
"warning", "skip"), modifiedOnly = FALSE, ..., verbose = FALSE)
|
path |
A path to a directory to be sourced. |
pattern |
A regular expression file name pattern to identify source code files. |
recursive |
If |
envir |
An |
onError |
If an error occurs, the error may stop the job, give a warning, or silently be skipped. |
modifiedOnly |
If |
... |
Additional arguments passed to |
verbose |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.