Description Usage Arguments Details Value See Also Examples
Installs project dependencies and needed supportive packages.
1 2 | prj_install_deps(prj = NULL, clean = FALSE, vanilla_sups = FALSE,
relock = FALSE)
|
prj |
project to collect dependencies for if not passed will build project for working directory. (type: rsuite_project, default: NULL) |
clean |
if TRUE clear environment before installing package dependencies. (type: logical, default: FALSE) |
vanilla_sups |
if TRUE install only base supportive packages (like devtools & roxygen2). (type: logical, default: FALSE) |
relock |
if TRUE allows updating the env.lock file (type: logical, default: FALSE) |
Logs all messages from the building process onto the rsuite logger. Use
logging::setLevel
to control logs verbosity. DEBUG level turns
on building and downloading messages.
TRUE if all build successfully.
Other in project management: prj_build
,
prj_clean_deps
, prj_init
,
prj_load
, prj_lock_env
,
prj_pack
, prj_start_package
,
prj_start
, prj_unload
,
prj_zip
1 2 3 4 5 6 7 8 9 | # create exemplary project base folder
prj_base <- tempfile("example_")
dir.create(prj_base, recursive = TRUE, showWarnings = FALSE)
# start project
prj <- prj_start("my_project", skip_rc = TRUE, path = prj_base)
# reinstall logging package into project environment
prj_install_deps(prj = prj, clean = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.