On Sat, Dec 15, 2012 at 8:29 PM, Paul Johnson <pauljoh...@gmail.com> wrote:
> On Sat, Dec 15, 2012 at 11:44 AM, Uwe Ligges
> <lig...@statistik.tu-dortmund.de> wrote:
>>
>> That is the reason why R CMD check gives a WARNING in the checks of your
>> package for quite some time now:
>>
>> checking foreign function calls ... WARNING
>>
>> Foreign function calls with 'PACKAGE' argument in a base package:
>> .Call("La_chol", ..., PACKAGE = "base")
>> .Call("La_chol2inv", ..., PACKAGE = "base")
>> Packages should not make .C/.Call/.Fortran calls to base packages. They
>> are not part of the API, for use only by R itself and subject to change
>> without notice.

[snip]

> Now, when I install that, I don't see a warning. (see below).

You won't on an install.  Uwe specifically mentioned Rcmd check which
runs more tests and checks than are done during a simple install.

Rcmd check really does catch a lot (there's even been some noise on
this list that it catches *too much*) so if you're having trouble with
a package, it is probably a reasonable place to start with the most
rigorous set of package checks, and then go from there.

Cheers,

Josh


--
Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
https://joshuawiley.com/

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

Reply via email to