Closed HenrikBengtsson closed 8 years ago
getStaticInstance() for Object requires R (>= 2.14.0) for Object:s saved to file using R.oo (< 1.14.0), which was released 2013-08-20. This is because it then calls requireNamespace(), which was introduced first in R 2.14.0:
getStaticInstance()
Object
requireNamespace()
if (requireNamespace(package, quietly=TRUE)) { ns <- getNamespace(package); clazz <- .getClassByName(className, where="ns", envir=ns, mustExist=FALSE); if (!is.null(clazz)) { static <- getStaticInstance(clazz); return(static); } }
BTW, R.methodsS3 requires R (>= 2.13.0), so effectively R.oo also requires R (>= 2.13.0).
getStaticInstance()
for Object requires R (>= 2.14.0) forObject
:s saved to file using R.oo (< 1.14.0), which was released 2013-08-20. This is because it then callsrequireNamespace()
, which was introduced first in R 2.14.0: