[R-pkg-devel] [CRAN-pretest-archived] CRAN submission gwsem 2.0.3
Joshua N Pritikin
jpr|t|k|n @end|ng |rom pobox@com
Sun Jun 14 17:38:25 CEST 2020
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)
More information about the R-package-devel
mailing list