use_recommended_deps | R Documentation |
Adds shiny
, DT
, attempt
, glue
, golem
, htmltools
to dependencies
Adds a test folder and copy the golem tests
use_recommended_deps(
pkg = get_golem_wd(),
recommended = c("shiny", "DT", "attempt", "glue", "htmltools", "golem")
)
use_recommended_tests(
pkg = get_golem_wd(),
spellcheck = TRUE,
vignettes = TRUE,
lang = "en-US",
error = FALSE
)
pkg |
Path to the root of the package. Default is |
recommended |
A vector of recommended packages. |
spellcheck |
Whether or not to use a spellcheck test. |
vignettes |
Logical, |
lang |
Preferred spelling language. Usually either |
error |
Logical, indicating whether the unit test should fail if
spelling errors are found. Defaults to |
Used for side-effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.