Re: [Rd] Parallel R CMD check?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri, 17 Feb 2012 09:42:30 +0000

On 17/02/2012 06:50, Martin Morgan wrote:
> Running R CMD check on a package can take quite a lot of time. Checks
> seem like they could be run in parallel (separate processes for, e.g.,
> codoc, examples, tests, ...). Is there a way to do this? My current
> usage is typically
>
> R CMD build <pkg>
> R CMD check pkg_x.y.z.tar.gz
>
> Thanks for any hints,

Not at present. It would need a lot of re-organization of the check.R code to collect output and present it in a reasonable order. I rather doubt is worth the effort: most of us with machines with large numbers of cores are not just checking one package at a time, and for many packages with long check times it is one aspect of the check which takes most of the time.

We have considered running separate tests and vignette R code in parallel: it was one of the motivations of having package 'parallel'. But even then people complained when we batched up all the test output and only reported it when all the tests had been run.

>
> Martin

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 17 Feb 2012 - 09:44:42 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 17 Feb 2012 - 20:00:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive