useDynLib(groc, .registration = TRUE)
#exportPattern("^[[:alpha:]]+")
export(groc,groc.default,predict.groc,plot.groc,print.groc,summary.groc,grocCrossval,corrob,covrob,dcov)
#S3methods are not viewable inside the R system. If you want this functionality available put it in the previous export
S3method(groc,default)
S3method(plot,groc)
S3method(predict,groc)
S3method(print,groc)
S3method(summary,groc)


# Import all packages listed as Imports or Depends
import(
 pls,
 mgcv,
 robust,
 robustbase,
 rrcov,
 MASS
)

importFrom("graphics", "abline", "par", "text")
importFrom("stats", ".checkMFClasses", "delete.response", "fitted",
             "formula", "mahalanobis", "median", "model.frame",
             "model.matrix", "model.response", "na.pass", "qchisq",
             "residuals", "sd", "terms", "update", "var")
