load_pkg | R Documentation |
Executes the steps to load an R package written in R Markdown format in one go:
Purl all relevant Rmd/*.Rmd
files to R/*.gen.R
files using purl_rmd()
.
Loads the package using devtools::load_all()
.
load_pkg(
path = ".",
add_copyright_notice = FALSE,
add_license_notice = FALSE,
gen_pkgdown_ref = FALSE,
reset = TRUE,
recompile = FALSE,
export_all = TRUE,
helpers = TRUE,
quiet = FALSE,
...
)
path |
Path to the root of the package directory. |
add_copyright_notice |
Whether or not to add a copyright notice at the beginning of the generated |
add_license_notice |
Whether or not to add a license notice at the beginning of the generated |
gen_pkgdown_ref |
Whether or not to overwrite pkgdown's reference index in the configuration file |
reset |
clear package environment and reset file cache before loading
any pieces of the package. This largely equivalent to running
|
recompile |
DEPRECATED. force a recompile of DLL from source code, if
present. This is equivalent to running |
export_all |
If |
helpers |
if |
quiet |
if |
... |
Additional arguments passed to |
path
, invisibly.
Other high-level functions:
lint_rmd()
,
process_pkg()
,
purl_rmd()
,
run_nopurl_rmd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.