[R-pkg-devel] Vignette timing out on test server

Roy Mendelssohn - NOAA Federal roy@mende|@@ohn @end|ng |rom no@@@gov
Wed Apr 17 16:32:06 CEST 2019

Thanks muchly.  That looks like I what I was after.  otherwise I was going to have to put tictoc on each chunk.


> On Apr 17, 2019, at 2:21 AM, Iñaki Ucar <iucar using fedoraproject.org> wrote:
> On Wed, 17 Apr 2019 at 02:41, Roy Mendelssohn - NOAA Federal via
> R-package-devel <r-package-devel using r-project.org> wrote:
>> ---------- Forwarded message ----------
>> From: Roy Mendelssohn - NOAA Federal <roy.mendelssohn using noaa.gov>
>> To: "Maëlle SALMON via R-package-devel" <r-package-devel using r-project.org>
>> Cc:
>> Bcc:
>> Date: Tue, 16 Apr 2019 17:41:21 -0700
>> Subject: Vignette timing out on test server
>> Hi All:
>> The package I am trying to get ready for submission has a Vignette that does a number of data downloads and some complicate maps with satellite images.  While it knits on my computer,  on checks it times out.  I am looking for ways to speed it up,  but my question is, is  there a command or a way to profile a vignette as it knits to  have a record to see which chunks are using up how much time?
>> I realize CRAN only runs the vignette code to check that it runs, but it must have a time limit because I am consistently hitting time outs on test machines.  So ti would help me if I can identify where all the time is.
> There you go:
> https://stackoverflow.com/questions/24595280/timing-for-chunks
> https://stackoverflow.com/questions/30530008/hook-to-time-knitr-chunks
> -- 
> Iñaki Úcar

"The contents of this message do not reflect any position of the U.S. Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn using 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.

More information about the R-package-devel mailing list