Ah, brilliant. Thanks.
On Sun, Jun 14, 2020 at 11:28:17AM -0400, Duncan Murdoch wrote:
> On 14/06/2020 10:59 a.m., Joshua N Pritikin wrote:
> > On Sun, Jun 14, 2020 at 09:17:32AM -0400, Duncan Murdoch wrote:
> > > knitr::opts_chunk$set(eval = !is_CRAN)
> >
> > This works except for in-text `r 1+1
On 14/06/2020 10:59 a.m., Joshua N Pritikin wrote:
On Sun, Jun 14, 2020 at 09:17:32AM -0400, Duncan Murdoch wrote:
Since you're using Rmarkdown, you can use a variable for the eval
chunk option, e.g. put this in your setup chunk:
knitr::opts_chunk$set(eval = !is_CRAN)
This works except for in
On Sun, Jun 14, 2020 at 09:17:32AM -0400, Duncan Murdoch wrote:
> Since you're using Rmarkdown, you can use a variable for the eval
> chunk option, e.g. put this in your setup chunk:
>
> knitr::opts_chunk$set(eval = !is_CRAN)
This works except for in-text `r 1+1` code fragments. Is there an opti
Ah, thank you!
Sorry for the duplicate posts.
On Sun, Jun 14, 2020 at 09:17:32AM -0400, Duncan Murdoch wrote:
> On 13/06/2020 1:29 p.m., Joshua N Pritikin wrote:
> >
> > I'm trying to include vignettes that take much too long for CRAN check.
> >
> > At the beginning of the Rmarkdown vignette, I
On 13/06/2020 1:29 p.m., Joshua N Pritikin wrote:
I'm trying to include vignettes that take much too long for CRAN check.
At the beginning of the Rmarkdown vignette, I use
is_CRAN <- !identical(Sys.getenv("NOT_CRAN"), "true")
if (is_CRAN) q()
And then I use
export NOT_CRAN=true
whe
On Sun, 14 Jun 2020 at 14:32, Joshua N Pritikin wrote:
>
>
> I'm trying to include vignettes that take much too long for CRAN check.
>
> At the beginning of the Rmarkdown vignette, I use
>
> is_CRAN <- !identical(Sys.getenv("NOT_CRAN"), "true")
> if (is_CRAN) q()
>
> And then I use
>
> expor
I'm trying to include vignettes that take much too long for CRAN check.
At the beginning of the Rmarkdown vignette, I use
is_CRAN <- !identical(Sys.getenv("NOT_CRAN"), "true")
if (is_CRAN) q()
And then I use
export NOT_CRAN=true
when I build locally. But CRAN check still complains,
On
I'm trying to include vignettes that take much too long for CRAN check.
At the beginning of the Rmarkdown vignette, I use
is_CRAN <- !identical(Sys.getenv("NOT_CRAN"), "true")
if (is_CRAN) q()
And then I use
export NOT_CRAN=true
when I build locally. But CRAN check still complains,
On
I'm trying to include vignettes that take much too long for CRAN check.
At the beginning of the Rmarkdown vignette, I use
is_CRAN <- !identical(Sys.getenv("NOT_CRAN"), "true")
if (is_CRAN) q()
And then I use
export NOT_CRAN=true
when I build locally. But CRAN check still complains,
On