[R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

Georgi Boshnakov georgi.boshnakov at manchester.ac.uk
Tue Dec 19 23:20:28 CET 2017

Sure, but \dontrun's function is to prevent the R tools from running the enclosed code.

How it is rendered is a completely separate matter.  The code in \dontrun is  not required to be executable (or even valid R code), so surely there should be some sort of visual clue in the rendered page. I don't argue whether it should be the one shown now or should be left entirely to the package author, although the current one seems reasonable to me.


-----Original Message-----
From: Hadley Wickham [mailto:h.wickham at gmail.com] 
Sent: 19 December 2017 19:22
To: Georgi Boshnakov
Cc: Tomas Hudik; r-package-devel at r-project.org
Subject: Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

> This actually is not about Rd format. Indeed, you are using   'roxygen' syntax.

This is unrelated to roxygen. \dontrun{} is Rd formatting.



More information about the R-package-devel mailing list