In your examples section, do something like this:

\donttest{

   Sys.sleep(100) # long running example code here

}


-- 
Brian 

On Mon, 2016-10-03 at 10:44 -0700, Roy Mendelssohn - NOAA Federal wrote:
> Hi Hadley:
> 
> > You can use \donttest{} to tell CRAN to not run it as part of their
> > automated tests.
> > 
> > Hadley
> > 
> 
> Thank you for the responses.  On the response above,  \donttest{} goes where? 
>  Is that in each R files where I have an example, or somewhere else?
> 
> -Roy
> 
> **********************
> "The contents of this message do not reflect any position of the U.S. 
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new address and phone***
> 110 Shaffer Road
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/
> 
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected" 
> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
> 
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to