document_and_reload {golem} | R Documentation |
Document and reload your package
Description
This function calls rstudioapi::documentSaveAll()
,
roxygen2::roxygenise()
and pkgload::load_all()
.
Usage
document_and_reload(
pkg = get_golem_wd(),
roclets = NULL,
load_code = NULL,
clean = FALSE,
export_all = FALSE,
helpers = FALSE,
attach_testthat = FALSE,
...
)
Arguments
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 |
Value
Used for side-effects