Hi, The R CMD check is successful in R 3.0.1 but fails to install package lmerTest under R-devel r63910, Here is what I get: ** preparing package for lazy loading Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : no definition was found for superclass "merMod" in the specification of class "merModLmerTest" In DESCRIPTION file I have: Depends: Matrix, stats, methods, lme4 Imports: numDeriv, MASS, Hmisc, gplots, pbkrtest I have classes.R file where I specify that "merModLmerTest" class should inherit "merMod": merModLmerTest <- setClass("merModLmerTest", contains = "merMod") But it seems like in R devel r63910 this line cannot be seen... This error I have seen for a few days Alexandra -- View this message in context: http://r.789695.n4.nabble.com/R-CMD-check-fails-in-R-devel-r63910-tp4676046.html Sent from the R devel mailing list archive at Nabble.com.
R. Michael Weylandt <michael.weylandt@gmail.com>
2013-Sep-13 11:57 UTC
[Rd] R CMD check fails in R-devel r63910
On Sep 13, 2013, at 7:44, alku <alku at dtu.dk> wrote:> Hi, > > The R CMD check is successful in R 3.0.1 but fails to install package > lmerTest under R-devel r63910, > Here is what I get: > > ** preparing package for lazy loading > Error in reconcilePropertiesAndPrototype(name, slots, prototype, > superClasses, : > no definition was found for superclass "merMod" in the specification of > class "merModLmerTest"The line you point out below isn't relevant to this error: it's saying it can't find a definition of merMod and that it knows you meant to define one since it's part of merModLmerTest.> > In DESCRIPTION file I have: > Depends: Matrix, stats, methods, lme4 > Imports: numDeriv, MASS, Hmisc, gplots, pbkrtest > > I have classes.R file where I specify that "merModLmerTest" class should > inherit "merMod": > > merModLmerTest <- setClass("merModLmerTest", contains = "merMod")Which would be trouble if you don't define "merMod" elsewhere. M> > But it seems like in R devel r63910 this line cannot be seen... > > This error I have seen for a few days > > Alexandra > > > > -- > View this message in context: http://r.789695.n4.nabble.com/R-CMD-check-fails-in-R-devel-r63910-tp4676046.html > Sent from the R devel mailing list archive at Nabble.com. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
This seems to be nothing to do with R-devel, which has none of those classes. Note that the versions of lme4 currently offered by CRAN for R 3.0.1 and R-devel are different. I expect that is the root of the confusion, although as far as I know the one with class "merMod" is the one for R-devel. But the posting guide applies: you have not supplied the 'at a minimum' information asked for nor a reproducible example. n 13/09/2013 12:44, alku wrote:> Hi, > > The R CMD check is successful in R 3.0.1 but fails to install package > lmerTest under R-devel r63910, > Here is what I get: > > ** preparing package for lazy loading > Error in reconcilePropertiesAndPrototype(name, slots, prototype, > superClasses, : > no definition was found for superclass "merMod" in the specification of > class "merModLmerTest" > > In DESCRIPTION file I have: > Depends: Matrix, stats, methods, lme4 > Imports: numDeriv, MASS, Hmisc, gplots, pbkrtest > > I have classes.R file where I specify that "merModLmerTest" class should > inherit "merMod": > > merModLmerTest <- setClass("merModLmerTest", contains = "merMod") > > But it seems like in R devel r63910 this line cannot be seen... > > This error I have seen for a few days > > Alexandra-- 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