Description Usage Arguments Functions
View source: R/dev-use_utils.R
Adds development utilities to the package
dev_use_utils("package")
or dev_use_utils("golem")
adds utilities to
dev/dev-utils.R
and loads it in your .Rprofile.
la()
is a shortcut for devtools::load_all()
dnr()
is a shortcut for documenting the package and then reloading
Additional arguments are available to export all functions or to reset
the global environment to a clean slate, suitable for testing that
you're not relying on global environment objects for your package.
lar()
is a shortcut for la()
and running the golem app
dnrr()
is a shortcut for dnr()
and running the golem app
1 2 3 4 5 6 | dev_use_utils(
type,
file = here("dev", "dev-utils.R"),
overwrite = FALSE,
envir = parent.frame()
)
|
type |
either "package" or "golem" depending on the package being built |
file |
location of the dev-utils.R file |
overwrite |
whether or not to overwrite an existing file |
dev_use_utils
: Package development utilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.