With the downsize R package, you can toggle the test and production versions of your workflow with the flip of a TRUE/FALSE global option. This is helpful when your workflow takes a long time to run, you want to test it quickly, and unit testing is too reductionist to cover everything.

# Installation

First, ensure that R is installed, as well as the dependencies in the DESCRIPTION. To install the latest CRAN release, run

install.packages("downsize")

To install the development version, get the devtools package and then run

devtools::install_github("wlandau/downsize", build = TRUE)

If you specify a tag, you can install a GitHub release.

devtools::install_github("wlandau/downsize@v0.2.1", build = TRUE)

# Tutorial

The online package vignette has a complete tutorial. You can the load the compiled version from an R session.

vignette("downsize")

# Help and troubleshooting

Use the help_downsize() function to obtain a collection of helpful links. For troubleshooting, please refer to TROUBLESHOOTING.md on the GitHub page for instructions.