Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Martin Morgan
- Original Message - > The thing that happens during the check is that the methods package is > not among the automatically loaded and attached packages. > > When the pkgB packages is attached, the Namespaces of pkgA and methods > are loaded but not attached. > > Note that one of the ch

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Uwe Ligges
The thing that happens during the check is that the methods package is not among the automatically loaded and attached packages. When the pkgB packages is attached, the Namespaces of pkgA and methods are loaded but not attached. Note that one of the checks tells you: "A namespace must be abl

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Uwe Ligges
On 15.10.2011 02:53, Hervé Pagès wrote: On 11-10-14 05:47 PM, Hervé Pagès wrote: On 11-10-14 05:46 PM, Hervé Pagès wrote: [...] I've put 2 toy packages here that illustrate the problem: https://rapidshare.com/files/4043144391/pkgA_1.0.tar.gz https://rapidshare.com/files/1959508331/pkgB_1.0

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-14 Thread Hervé Pagès
On 11-10-14 05:47 PM, Hervé Pagès wrote: On 11-10-14 05:46 PM, Hervé Pagès wrote: [...] I've put 2 toy packages here that illustrate the problem: https://rapidshare.com/files/4043144391/pkgA_1.0.tar.gz https://rapidshare.com/files/1959508331/pkgB_1.0.tar.gz arghh, sorry for the broken links

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-14 Thread Hervé Pagès
On 11-10-14 05:46 PM, Hervé Pagès wrote: [...] I've put 2 toy packages here that illustrate the problem: https://rapidshare.com/files/4043144391/pkgA_1.0.tar.gz https://rapidshare.com/files/1959508331/pkgB_1.0.tar.gz arghh, sorry for the broken links. I'll try to put those packages somewhere

[Rd] .onLoad failing because could not find function "loadMethod"

2011-10-14 Thread Hervé Pagès
Hi, This strange warning happen sometimes when running 'R CMD check': * checking whether the package can be loaded with stated dependencies ... WARNING Error : .onLoad failed in loadNamespace() for ‘pkgB’, details: call: length(new("A")) error: could not find function "loadMethod"