[R] Roxygen examples in DONTRUN mode - how?

Mark Heckmann mark.heckmann at gmx.de
Sat Nov 20 14:48:08 CET 2010


Dear list,

I have just started to use roxygen and cannot find out how to specify NOT RUN examples.
I know that to include R code examples works via the @examples tag followed by the code.

Without roxygen, if I want R code not to be run when processing the .Rd files I would include the \dontrun tag
\examples{\dontrun{ ... some example R code} }

How can I achieve this using roxygen?

Thanks
Mark
–––––––––––––––––––––––––––––––––––––––
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Celler Straße 27
28205 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com



More information about the R-help mailing list