knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "tools/readme/README-"
)

lifecycle

Disclaimer: this is experimental, use deliberately and with caution.

revisionist

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.

Installation

remotes::install_github('yonicd/revisionist')

Usage

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))

Details

The user supplies the target package and either:

{revisionist} then uses github api to find what package version are needed under the constraints defined.



yonicd/revisionist documentation built on May 10, 2019, 3:19 a.m.