knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "tools/readme/README-" )
Disclaimer: this is experimental, use deliberately and with caution.
base R
install.packages
is a greedy version installer. This is great for working on the tip of the CRAN repository, but not great in an enterprise work environment, where packages and script need to work regardless of present CRAN status.
{revisionist}
populates a local src directory with conservative package version logic.
remotes::install_github('yonicd/revisionist')
x <- revisionist::build_map('slickR','0.1.0') knitr::kable(x)
x <- revisionist::build_map('slickR','0.1.0') knitr::kable(x)
knitr::kable(revisionist::prune_map(x))
The user supplies the target package and either:
{revisionist}
then uses github api to find what package version are needed under the constraints defined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.