Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bayesplot development notes

TJ Mahr edited this page Sep 18, 2018 · 4 revisions

The purpose of this page is to collect notes and code snippets that are useful for the development of bayesplot.

How to test a package as CRAN

The function skip_on_cran() will skip a time-consuming and dependency-heavy test from running on CRAN. To run the suite of tests as though you were on CRAN, use:

Sys.setenv(NOT_CRAN = "false")
devtools::test()

Currently, all of the visual unit tests are set to skip on CRAN because spurious false positives can be raised due to which fonts or other software are installed on the testing machine.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.