This is a wrapper around pkgbuild::build()
and renv::install()
to more
easily make local packages available within renv projects.
The following steps are performed:
Building the package found at argument
path
viapkgbuild::build()
.Moving the built source into the renv cache. The cache location is determined by
Sys.getenv("RENV_PATHS_LOCAL")
.Installing the package from the cache location via
renv::install()
.
Arguments
- path
[character]
The path to the package which should be built and installed.- quiet
[logical]
Whether to suppress console output.- ...
Passed down topkgbuild::build()
.