[Roxygen-devel] \dontrun in @example

Hadley Wickham hadley at rice.edu
Sat Dec 24 14:17:02 CET 2011


Have you tried something like

# \dontrun{
R code here
# }

?

Hadley

On Sat, Dec 24, 2011 at 12:48 AM, Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:
> I know I can use \dontrun inside of an @examples block, but is there also a
> way to use it inside an @example /path/to/example.R?
>
>
>
> _______________________________________________
> Roxygen-devel mailing list
> Roxygen-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel



-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list