This is a problem in the lmtest package:
"lrtest.default" is exported as a function rather than declared as an
S3method in its NAMESPACE. I am CCing the maintainer.
For the meantime, you hav to import the default function explicitly, I
believe.
Best,
Uwe Ligges
On 10.01.2012 19:17, Stephan
In my own package, I want to use the default S3 method of the generic
function lrtest() from the lmtest package. Since I need only one
function from lmtest, I tried to use importFrom in my NAMESPACE:
importFrom(lmtest, lrtest)
However, this fails R CMD check in the examples:
Error in UseMetho