search for: makeclassrepresentation

Displaying 4 results from an estimated 4 matches for "makeclassrepresentation".

2009 Jan 08
1
File name determines success or failure of package installation -- please help
...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]: *** [lazyload] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-Test] Error 2 *** Installation of Test failed *** Removing 'C:/TEMP/Test.Rcheck/Test' C:\TEMP>R CMD INSTALL Test installing to 'c:/PROGRA~1/R/R-2.8.1/l...
2004 Jul 22
2
Files and classes in a package?
...ject 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: eval(expr, envir, enclos) 3: eval(i, envir) 2: sys.source(codeFile, loadenv, keep....
2004 Oct 06
1
R 2.0.0: namespaces, S4 classes & versioned package installation: failure to resolve correct pkg version
...eval(i, envir) 6 : eval(expr, envir, enclos) 7 : .defineRankingClass(where = .where) 8 : setClass("Ranking", representation("VIRTUAL", rowGroup = "Grouping", colGroup = "Grouping"), prototype(rowGroup = newGrouping(), colGroup = newGrouping()), vali 9 : makeClassRepresentation(Class, properties, superClasses, prototype, package, validity, access, version, sealed, where = where) 10 : prototype(rowGroup = newGrouping(), colGroup = newGrouping()) 11 : .prototype(...) 12 : newGrouping() 13 : new("Grouping") 14 : initialize(value, ...) 15 : initialize(value,...
2010 Feb 02
1
S4 setClass / initialize misunderstanding
Hi, I recently ran into this problem. I couldn't find any mention of it in the setClass documentation. setClass("Foo", representation(file = "character")) setMethod("initialize", "Foo", function(.Object, file) { print(file) }) setClass("Bar", contains = "Foo") And the error: Error in print(file) : argument "file" is