document_and_reload | R Documentation |
This function calls rstudioapi::documentSaveAll()
,
roxygen2::roxygenise()
and pkgload::load_all()
.
document_and_reload(
pkg = get_golem_wd(),
roclets = NULL,
load_code = NULL,
clean = FALSE,
export_all = FALSE,
helpers = FALSE,
attach_testthat = FALSE,
...
)
pkg |
Path to the root of the package. Default is |
roclets |
Character vector of roclet names to use with package.
The default, |
load_code |
A function used to load all the R code in the package
directory. The default, |
clean |
If |
export_all |
If |
helpers |
if |
attach_testthat |
If |
... |
Other arguments passed to |
Used for side-effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.