Skip to content
Back to formatted view

Raw Message

Message-ID: <CALPSvOt_x-kDFFu0PWnse-VepBeW1ciMdKs6549sYNryu9Nq-A@mail.gmail.com>
Date: 2017-09-11T16:23:08Z
From: Pamela Russell
Subject: [R-pkg-devel] Skip running vignette code with package submission
In-Reply-To: <CALEXWq3VNk_iw-JCscW+C--SUOfQ70z85e3tb-hxe9_WpViiVw@mail.gmail.com>

Thanks so much, this is working.


-----------------------------------------------------------
Pamela Russell
Research Instructor
Department of Biostatistics and Informatics
Colorado School of Public Health
pamela.russell at ucdenver.edu

On Mon, Sep 11, 2017 at 9:05 AM, I?aki ?car <i.ucar86 at gmail.com> wrote:

> Hi,
>
> 2017-09-11 16:42 GMT+02:00 Pamela Russell <pamela.russell.ucdenver@
> gmail.com>:
> > Hi,
> >
> > I'm wondering if it's possible to have the CRAN maintainers skip running
> > the code in my vignettes along with R CMD CHECK. I've developed a package
> > that wraps a REST API for which authentication is required. My code fails
> > with a helpful error message if the user does not have a valid API key
> > installed locally.
>
> You can conditionally disable your chunks with
> knitr::opts_chunk$set(eval = FALSE), as in
> https://github.com/r-simmer/simmer/blob/master/vignettes/
> simmer-03-trajectories.Rmd
>
> This method is further developed in this R Journal article:
> https://journal.r-project.org/archive/2017/RJ-2017-026/index.html
>
> Regards,
> I?aki
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]