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