export(mle) # exporting methods implicitly exports the generics importFrom("graphics", plot) importFrom("stats", optim, qchisq) ## For these, we define methods or (AIC) at least an implicit generic: importFrom("stats", AIC, coef, confint, logLik, profile, update, vcov) ## S4 exportClasses(mle, profile.mle, summary.mle) ## All methods, for own or "foreign" generics: exportMethods(BIC, coef, confint, logLik, plot, profile, summary, show, update, vcov) ## implicit generic does not have any methods here (but in flexmix) export(AIC)