Is the mechanism by which packages are tested on CRAN described anywhere? Is it by any chance written in R? The FastR <https://bitbucket.org/allr/fastr/wiki/Home> team is interested in running a virtual CRAN where we can test all the CRAN packages on FastR. Thanks Mick Jordan [[alternative HTML version deleted]]
> On Jun 12, 2015, at 1:24 AM, Mick Jordan <mick.jordan at oracle.com> wrote: > > Is the mechanism by which packages are tested on CRAN described > anywhere? Is it by any chance written in R? The FastR > <https://bitbucket.org/allr/fastr/wiki/Home> team is interested in > running a virtual CRAN where we can test all the CRAN packages on FastR. >Well, that?s what R CMD check is for - since it?s just R code (all the check shell script does is to call tools:::.check_packages()) your FastR should be able to run it as long as it?s compatible with R ? Cheers, Simon
Some (unofficial) tips. Some of the hardware and software they use is listed here: http://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-debian-clang You can get the current R-release and R-oldrel versions from here: http://rversions.r-pkg.org/r-release http://rversions.r-pkg.org/r-oldrel The environment variables they use for the checks are listed here: http://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools The win-builder page also has some hints about what is installed on the windows test machines: http://win-builder.r-project.org/ I hope this is useful. I would interested to hear about the progress of this project, if you don't mind. So if you have an open repo or web page, please let me know. Thanks. Gabor On Fri, Jun 12, 2015 at 1:24 AM, Mick Jordan <mick.jordan at oracle.com> wrote:> Is the mechanism by which packages are tested on CRAN described > anywhere? Is it by any chance written in R? The FastR > <https://bitbucket.org/allr/fastr/wiki/Home> team is interested in > running a virtual CRAN where we can test all the CRAN packages on FastR. > > Thanks > Mick Jordan > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
In addition to what has been said already, you should check C code for -pedantic compiler warnings (in particular GNU extensions) and verify that the package builds with parallel make (e.g. MAKE=make -j8). On Fri, Jun 12, 2015 at 7:24 AM, Mick Jordan <mick.jordan at oracle.com> wrote:> > Is the mechanism by which packages are tested on CRAN described > anywhere? Is it by any chance written in R? The FastR > <https://bitbucket.org/allr/fastr/wiki/Home> team is interested in > running a virtual CRAN where we can test all the CRAN packages on FastR. > > Thanks > Mick Jordan > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel