You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#525 added support for R.methodsS3::setMethodS3(name, class, definition) and R.oo::setConstructorS3(name, definition). With the newest version of Roxygen, attempting to run roxygen using these methods results in an
Error in methods::is(x, "refObjectGenerator") : object 'value' not found
error for me. I've created a minimal package demonstrating the error here. The error goes away when prepending the package namespace to setConstructorS3 and setMethodS3 (that is, always using the fully namespaced R.oo::setConstructorS3 and R.methodsS3::setMethodS3) but, when doing so, the s3 methods are not appropriately registered by the namespace (they are simply exported).
The text was updated successfully, but these errors were encountered:
#525 added support for
R.methodsS3::setMethodS3(name, class, definition)
andR.oo::setConstructorS3(name, definition)
. With the newest version of Roxygen, attempting to run roxygen using these methods results in anerror for me. I've created a minimal package demonstrating the error here. The error goes away when prepending the package namespace to
setConstructorS3
andsetMethodS3
(that is, always using the fully namespacedR.oo::setConstructorS3
andR.methodsS3::setMethodS3
) but, when doing so, the s3 methods are not appropriately registered by the namespace (they are simply exported).The text was updated successfully, but these errors were encountered: