refresh | R Documentation |
This function is about to be removed from rcompendium
.
This function refreshes a package/research compendium. It will:
Update .Rd
files and NAMESPACE
by using devtools::document()
;
Update external packages (in DESCRIPTION
file) by using
add_dependencies()
;
Update badges in README.Rmd
(if already present);
Re-knitr the README.Rmd
by using rmarkdown::render()
;
Check package integrity by using devtools::check()
;
Run analysis by sourcing make.R
(only for compendium).
refresh(compendium = NULL, make = FALSE, check = FALSE, quiet = FALSE)
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 |
No return value.
Other setup functions:
new_compendium()
,
new_package()
,
set_credentials()
## Not run:
library(rcompendium)
## Create an R package ----
new_package()
## Start developing functions ----
## ...
## Update package (documentation, dependencies, README) ----
refresh()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.