archive/README.md

dplyr archive

A set of packrats for various dplyr versions, connected to MRAN to be able to collect the dependencies in the correct version. The package sources are not under version control, we need MRAN to install a snapshot.

Test code with a particular dplyr version

  1. Change to a directory
  2. Start R
    • If the packrat hasn't been initialized yet, run packrat::restore()
  3. Run the code

Example:

cd archive/0.7.4-earliest
R -q -e 'dplyr::slice(c(-1, 1))'

Add a new packrat

  1. Change to the archive directory.
  2. Use the add-version.sh script.

Example: dplyr 0.7.4 has been released on September 28, 2017. We add dplyr 0.7.3 snapshotted on September 26, and dplyr 0.7.4 on September 30:

./add-version.sh 0.7.3-latest 2017-09-26
./add-version.sh 0.7.4-earliest 2017-09-30


hadley/dplyr documentation built on Nov. 6, 2024, 4:48 p.m.