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.

Georgi


-----Original Message-----
From: Hadley Wickham [mailto:h.wick...@gmail.com] 
Sent: 19 December 2017 19:22
To: Georgi Boshnakov
Cc: Tomas Hudik; r-package-devel@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.

Hadley

-- 
http://hadley.nz
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to