[Roxygen-devel] \dontrun in @example

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Mon Dec 26 22:54:34 CET 2011


Yes that doesn't seem to work either. It will end up in the .Rd file as:

# \\dontrun{
R code here
# }




On Sat, Dec 24, 2011 at 5:17 AM, Hadley Wickham <hadley at rice.edu> wrote:

> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20111226/327e4c6f/attachment.htm>


More information about the Roxygen-devel mailing list