| refresh {rcompendium} | R Documentation |
Refresh a package/research compendium
Description
This function is about to be removed from rcompendium.
This function refreshes a package/research compendium. It will:
Update
.Rdfiles andNAMESPACEby usingdevtools::document();Update external packages (in
DESCRIPTIONfile) by usingadd_dependencies();Update badges in
README.Rmd(if already present);Re-knitr the
README.Rmdby usingrmarkdown::render();Check package integrity by using
devtools::check();Run analysis by sourcing
make.R(only for compendium).
Usage
refresh(compendium = NULL, make = FALSE, check = FALSE, quiet = FALSE)
Arguments
compendium |
A character of length 1. The name of the folder to
recursively detect dependencies to be added to the Default is |
make |
A logical value. If |
check |
A logical value. If |
quiet |
A logical value. If |
Value
No return value.
See Also
Other setup functions:
new_compendium(),
new_package(),
set_credentials()
Examples
## Not run:
library(rcompendium)
## Create an R package ----
new_package()
## Start developing functions ----
## ...
## Update package (documentation, dependencies, README) ----
refresh()
## End(Not run)