Description Usage Arguments Details See Also Examples
Builds project internal packages and installs them.
1 2 |
prj |
project to build if not passed will build project for working directory. (type: rsuite_project, default: NULL) |
type |
type of packages to build. If NULL will build platform default. (type: character) |
rebuild |
if TRUE will force rebuild all project packages event if no changes detected (type: logical) |
vignettes |
if FALSE will not build vignettes which can highly decrease package building time (type: logical, default: TRUE) |
tag |
if TRUE will tag packages with RC revision. Enforces rebuild. (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.
Other in project management: prj_clean_deps
,
prj_init
, prj_install_deps
,
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 10 11 12 13 14 15 | # 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)
# create package in the project
prj_start_package("mypackage", prj = prj, skip_rc = TRUE)
# build project local environment
prj_install_deps(prj = prj)
# build mypackage and install it into project environment
prj_build(prj = prj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.