Toggle the test and production versions of your workflow with the flip of a global option.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
articles
man
news
reference
tests
vignettes
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md
TROUBLESHOOTING.md
_config.yml
appveyor.yml
authors.html
build_site.R
cran-comments.md
index.html
jquery.sticky-kit.min.js
link.svg
pkgdown.css
pkgdown.js

README.md

downsize

Travis-CI Build Status AppVeyor Build Status codecov.io CRAN_Status_Badge

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.