Skip to content
Back to formatted view

Raw Message

Message-ID: <20200614153825.pjjyy3u5wts2tpnh@cocoa>
Date: 2020-06-14T15:38:25Z
From: Joshua N Pritikin
Subject: [R-pkg-devel]  [CRAN-pretest-archived] CRAN submission gwsem 2.0.3
In-Reply-To: <f5f63b73-4c48-4639-3fc8-53c188592966@gmail.com>

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` code fragments. Is there an option
> > to make these evaluate to "[MISSING]" or similar?
> 
> To suppress evaluation of those, you can use this:
> 
> knitr::knit_hooks$set(evaluate.inline = function(x, envir) x)