On Wed, 17 Apr 2019 at 02:41, Roy Mendelssohn - NOAA Federal via
R-package-devel <r-package-devel@r-project.org> wrote:
> ---------- Forwarded message ----------
> From: Roy Mendelssohn - NOAA Federal <roy.mendelss...@noaa.gov>
> To: "Maëlle SALMON via R-package-devel" <r-package-devel@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

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

Reply via email to