Synchronize a boosterpak project
Usage
sync(
mode = c("apply", "restore"),
root = ".",
hydrate = TRUE,
verbose = NULL,
library = NULL
)Arguments
- mode
"apply"installs packages declared byboosters.tomland writes and sourcesboosters/attach.Rin the current R session;"restore"restores fromrenv.lock.- root
Project root.
- hydrate
Whether additive apply mode should reuse packages from renv-discoverable local libraries before downloading with pak. Restore mode and active-library apply mode ignore this option.
- verbose
Whether to print routine summaries.
- library
Package-library strategy for apply mode:
"renv"uses the project-local renv library, while"active"uses the first writable entry in.libPaths().NULLuses[settings].library, defaulting to"renv".