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
)
Path to the root of the package. Default is get_golem_wd()
.
A vector of recommended packages.
Whether or not to use a spellcheck test.
Logical, TRUE
to spell check all rmd
and rnw
files in
the vignettes/
folder.
Preferred spelling language. Usually either "en-US"
or
"en-GB"
.
Logical, indicating whether the unit test should fail if
spelling errors are found. Defaults to FALSE
, which does not error, but
prints potential spelling errors
Used for side-effects.