Skip to content
Prev 10543 / 63424 Next

couldn't find function "setClass"

Jeff Gentry wrote:
With packages that do NOT have a namespace but DO have saved images,
yes. (!)

The problem seems to be that the current version of INSTALL doesn't end
up with library(methods) in this branch (related to --vanilla ?).  One
workaround seem to be to change INSTALL (or scripts/INSTALL.in) as
follows:

522c522
<       code_cmd="eval cat \"${code_file}\""
---
to explicitly attach the library.  This may in fact be the right fix,
but I'm confused as to why this is happening now.

(For me it also works to not use saved images.)

John