piLaboratory/sads

Inheritance bug with devtools::document()

Closed this issue · 3 comments

devtools::document() is failing with

Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, (from sads-classes.R#33) :
no definition was found for superclass “summary.mle2” in the specification of class “summary.sads”

Seeing that "summary.mle2" has already caused a lot of trouble (see #124), I think the best course of action is to drop this inheritance and implement the "summary-sads" class fully within sads.

Seeing that Ben Bolker now has set up a repository on GitHub for bbmle, I'll try contacting him to see if he can export the summary.mle2 class ;-)

Installing the development version of bbmle fixes this (see bbolker/bbmle#10)