[Roxygen-devel] \dontrun in @example

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Mon Dec 26 23:19:04 CET 2011


https://github.com/klutometis/roxygen/issues/67



On Mon, Dec 26, 2011 at 1:57 PM, Hadley Wickham <hadley at rice.edu> wrote:

> Oh, I see. Hmmmmmm.  Can you file a bug at
> https://github.com/klutometis/roxygen/issues ?
>
> Hadley
>
> On Mon, Dec 26, 2011 at 3:54 PM, Jeroen Ooms <jeroen.ooms at stat.ucla.edu>
> wrote:
> > 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/
> >
> >
>
>
>
> --
> 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/0a3670fc/attachment.htm>


More information about the Roxygen-devel mailing list