.C calls in CRAN packages to other packages not depended on

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 3 23:14:36 CEST 2012


This concerns packages aroma.core, npRmpi, pairwiseCI and timeDate.

As you can see from the R-devel checks at

http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-gcc-fedora/<pkgname>-00check.html

you are making .C calls to another package which is not mentioned in the 
DESCRIPTION file and hence need not even be installed on the system your 
package is running on.

In any case, using non-API interfaces in other packages is unsafe, and 
at C level is an all too easy way to crash the R session the user of 
your package is running (and because that was happening too often, these 
checks were added).  If you really need a low-level API, please 
negotiate with the other package maintainer to provide one.

Please fix this (and other issues showing in those checks) as soon as 
possible.

-- 
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



More information about the Rmetrics-core mailing list