Yes that doesn't seem to work either. It will end up in the .Rd file as:<div><br></div><div># \\dontrun{</div><div>R code here</div><div># }</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Dec 24, 2011 at 5:17 AM, Hadley Wickham <span dir="ltr"><<a href="mailto:hadley@rice.edu" target="_blank">hadley@rice.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried something like<br>
<br>
# \dontrun{<br>
R code here<br>
# }<br>
<br>
?<br>
<br>
Hadley<br>
<div><br>
On Sat, Dec 24, 2011 at 12:48 AM, Jeroen Ooms <<a href="mailto:jeroen.ooms@stat.ucla.edu" target="_blank">jeroen.ooms@stat.ucla.edu</a>> wrote:<br>
> I know I can use \dontrun inside of an @examples block, but is there also a<br>
> way to use it inside an @example /path/to/example.R?<br>
><br>
><br>
><br>
</div>> _______________________________________________<br>
> Roxygen-devel mailing list<br>
> <a href="mailto:Roxygen-devel@lists.r-forge.r-project.org" target="_blank">Roxygen-devel@lists.r-forge.r-project.org</a><br>
> <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel</a><br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Assistant Professor / Dobelman Family Junior Chair<br>
Department of Statistics / Rice University<br>
<a href="http://had.co.nz/" target="_blank">http://had.co.nz/</a><br>
</font></span></blockquote></div><br></div>