[R-pkg-devel] Vignette timing out on test server
Iñaki Ucar
|uc@r @end|ng |rom |edor@project@org
Wed Apr 17 11:21:21 CEST 2019
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
More information about the R-package-devel
mailing list