search for: reconcilepropertiesandprototype

Displaying 14 results from an estimated 14 matches for "reconcilepropertiesandprototype".

2009 Jan 08
1
File name determines success or failure of package installation -- please help
...C:/TEMP/Test.Rcheck/00install.out' for details. C:\TEMP>cat 'C:/TEMP/Test.Rcheck/00install.out' installing R.css in C:/TEMP/Test.Rcheck ---------- Making package Test ------------ adding build stamp to DESCRIPTION installing R files preparing package Test for lazy loading Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : No definition was found for superclass "SiteResourceCapacity" in the specification of class "RoleCapacity" Calls: <Anonymous> ... makeClassRepresentation -> reconcilePropertiesAndPrototype Execution halted make[2]: *** [lazy...
2005 Aug 23
1
ROracle installation problem
Hi there, I am trying to install ROracle but I get this error. I have an error in reconcilePropertiesAndPrototype. (My LD_LIBRARY_PATH is set with the oracle lib) Thanks, Mathieu # R CMD INSTALL --configure-args='--enable-extralibs' ../ROracle_0.5-5.tar.gz * Installing *source* package 'ROracle' ... creating cache ./config.cache checking how to run the C preprocessor... cc -E updating cac...
2013 Sep 13
2
R CMD check fails in R-devel r63910
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...
2003 Jul 30
2
building packages using S4 methods
I have been building a package around a sequence of S4 classes which I have coded in separate *.R files in the "./R" subdirectory of the package. The package builds without error, but when I load it in R I get: Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses) : Class "xxxx" extends an undefined class ("yyyyyy" I guess R is trying to source the *.R files in the wrong order? Since both classes are defined in the package and work fine at the command prompt. Is it just that this has not been an is...
2013 Oct 03
1
check warning with .onLoad() and setClass()
...hecking whether the package can be loaded with stated dependencies ... OK | * checking whether the package can be unloaded cleanly ... OK | * checking whether the namespace can be loaded with stated dependencies ... WARNING | Error: .onLoad failed in loadNamespace() for ?InDrak?, details: | call: reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, | error: no definition was found for superclass ?simObj? in the specification of class ?inDrak? | Execution halted | | A namespace must be able to be loaded with just the base namespace | loaded: otherwise if the namespace gets loaded by a saved object, the...
2006 Oct 26
2
S4 pb in R 2.5.0
...efined class A: > setClass("A", representation(toto="integer")) > showClass("A") Slots: Name: toto Class: integer Now if I try to extend A: > setClass("Aa", representation("A")) Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : "A" is not eligible to be the data part of another class (must be a basic class or a virtual class with no slots) Surprising. And even more surprising: I don't get this if I don't try to define class A twice or if I inv...
2004 Jul 22
2
Files and classes in a package?
...class or generic function) to find in the meta-data must be a single string (got an object of class "NULL") > traceback() 12: methodsPackageMetaName("C", name) 11: classMetaName(Class) 10: getClassDef(Class, where) 9: getClass(cl, TRUE) 8: .validDataPartClass(clDef, name) 7: reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, where) 6: makeClassRepresentation(Class, properties, superClasses, prototype, package, validity, access, version, sealed, where = where) 5: setClass("aclass", contains = "bclass", representation(i = "numeric")) 4: eva...
2015 May 13
2
Unexpected failure when calling new() with unnamed arg and
...fail : > > > setClass("A", representation(slot1="numeric", slot2="logical")) > > setClass("B", contains="A", representation(design="formula")) > > setClass("C", contains="B") > Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : > "B" is not eligible to be the data part of another class (must be a basic class or a virtual class with no slots) > > > > So, I am not yet committing my changes to R-devel. > Hopefully more on this, later today. > >...
2012 Mar 21
1
Trouble installing the XML package
Hello everyone, I am probably not the only one having trouble with this package but here goes. I want to install XML on Ubuntu. I installed libxml2-dev and everything works out fine until I get the following: Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : No definition was found for superclass "namedList" in the specification of class "XMLOutputStream" Error : unable to load R code in package 'XML' ERROR: lazy loading failed for package ?XML? Googling this was no help. This is...
2015 May 12
2
Unexpected failure when calling new() with unnamed arg and
Hi, The man page for new() suggests that if 'a' is an object with slots "slot1" and "slot2" and C is a class that extends the class of 'a', then the 2 following calls should be equivalent: new("C", a, ...) new("C", slot1=a at slot1, slot2=a at slot2, ...) This is generally the case but I just ran into a situation where it's not.
2015 Oct 08
1
Unexpected failure when calling new() with unnamed arg and
...;, representation(slot1="numeric", >>> slot2="logical")) > setClass("B", contains="A", >>> representation(design="formula")) > setClass("C", >>> contains="B") Error in >>> reconcilePropertiesAndPrototype(name, slots, prototype, >>> superClasses, : "B" is not eligible to be the data part >>> of another class (must be a basic class or a virtual >>> class with no slots) >>> > >>> >>> So, I am not yet committing...
2019 Jan 10
2
setClass accepts slot-mismatch between slots and prototype arguments
I was installing the 'diffobj' package into TERR and got an error from the call StyleSummary <- setClass("StyleSummary", slots=c(container="ANY", body="ANY", map="ANY"), prototype=list( container=function(x) sprintf("\n%s\n", paste0(x, collapse="")), body=identity, detail=function(x) sprintf("\n%s\n",
2015 May 13
0
Unexpected failure when calling new() with unnamed arg and
...-- with my changes --- would fail : > setClass("A", representation(slot1="numeric", slot2="logical")) > setClass("B", contains="A", representation(design="formula")) > setClass("C", contains="B") Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : "B" is not eligible to be the data part of another class (must be a basic class or a virtual class with no slots) > So, I am not yet committing my changes to R-devel. Hopefully more on this, later today. Martin Maechler, ETH Zurich &gt...
2015 Oct 08
0
Unexpected failure when calling new() with unnamed arg and
...t;> > setClass("A", representation(slot1="numeric", slot2="logical")) >> > setClass("B", contains="A", representation(design="formula")) >> > setClass("C", contains="B") >> Error in reconcilePropertiesAndPrototype(name, slots, prototype, >> superClasses, : >> "B" is not eligible to be the data part of another class (must be a >> basic class or a virtual class with no slots) >> > >> >> So, I am not yet committing my changes to R-devel. >> Hopefully...