[Roxygen-devel] \dontrun in @example

Hadley Wickham hadley at rice.edu
Mon Dec 26 22:57:29 CET 2011


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/


More information about the Roxygen-devel mailing list