Displaying 1 result from an estimated 1 matches for "r57211".
Did you mean:
57211
2011 Oct 15
2
.onLoad failing because could not find function "loadMethod"
...kage (which is imported in both packages) is not working
properly.
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
I'm using R version 2.14.0 alpha (2011-10-10 r57211).
The .onLoad hook in pkgB is:
.onLoad <- function(libname, pkgname)
{
showMethods("length")
length(new("A"))
}
Class A and the length method for this class is defined in pkgA.
Because of the showMethods("length") statement, you should see this
when ru...