run_nopurl_rmd | R Documentation |
*.nopurl.Rmd
filesExecutes .Rmd
files which are supposed to contain code not included in the source package, i.e.
usually outsourced to separate .Rmd
files with the .nopurl
suffix in their filenames. Those files are typically used to generate package
data.
If an error is encountered saying internal error -3 in R_decompress1
, restart the R session and run again.
run_nopurl_rmd(
path = ".",
path_rmd = fs::dir_ls(path = fs::path(path, "Rmd"), recurse = TRUE, type = "file", glob
= "*.nopurl.Rmd"),
env = NULL,
document = TRUE,
build_and_install = TRUE,
restart_r_session = TRUE,
quiet = TRUE,
roclets = NULL,
args = getOption("devtools.install.args"),
dependencies = NA,
upgrade = "never",
keep_source = getOption("keep.source.pkgs")
)
path |
Path to the root of the package directory. |
path_rmd |
Path(s) to the |
env |
Environment to evaluate the |
document |
Whether or not to re-build the package documentation after the last |
build_and_install |
Whether or not to build and install the package after each |
restart_r_session |
Whether or not to restart the R session after the last |
quiet |
if |
roclets |
Character vector of roclet names to use with package.
The default, |
args |
An optional character vector of additional command line
arguments to be passed to |
dependencies |
Which dependencies do you want to check? Can be a character vector (selecting from "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances"), or a logical vector.
The value "soft" means the same as You can also specify dependencies from one or more additional fields, common ones include:
|
upgrade |
Should package dependencies be upgraded? One of "default", "ask", "always", or "never". "default"
respects the value of the |
keep_source |
If |
path_rmd
, invisibly.
Other high-level functions:
lint_rmd()
,
load_pkg()
,
process_pkg()
,
purl_rmd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.