importFrom(Matrix, rankMatrix) # in checkEstimable

importFrom(relimp, pickFrom) # in getContrasts

useDynLib(gnm, .registration = TRUE, .fixes = "C_")
devAskNewPage, extendrange) # in plot.gnm
importFrom(graphics, abline, axis, frame, legend, lines, mtext, panel.smooth,
importFrom(methods, as) # in hatvalues.gnm
importFrom(MASS, addterm, boxcox, dropterm, logtrans)
importFrom(stats, .getXlevels, add.scope, add1, alias, anova, approx,
as.formula, C, coef, confint, cooks.distance, delete.response,
deriv, deviance, df.residual, dfbeta, dfbetas, drop.scope, drop1,
dummy.coef, effects, extractAIC, family, fitted.values, fitted,
formula, gaussian, glm.control, glm.fit, hatvalues, influence,
is.empty.model, lm.wfit, make.link, model.extract, model.frame,
model.matrix, model.offset, model.response, model.weights, na.action,
na.exclude, na.omit, na.pass, napredict, naresid, optim, pchisq, pf,
pnorm, poisson, predict, printCoefmat, profile, proj, pt, qnorm,
qqnorm, quantile, reformulate, residuals, rstandard, rstudent, runif,
sd, spline, stat.anova, symnum, terms, terms.formula, update.formula,
importFrom(utils, flush.console) # in prattle, confint.gnm

"predict", "rnorm", "qnorm", "plogis", "qlogis", "prcomp",
"rCopula", "cCopula", "indepCopula", "pobs", "nParam")
export("catch", "TensorFlow_available", # use via if(!TensorFlow_available()) q()
export("FNN") # constructor of object of S3 class c("gnn_FNN", "gnn_GNN", "gnn_Model")
## export("gof2sample") # constructor of an object of S3 class c("htest", "htest2") => not working yet

importFrom("stats", "complete.cases", "quantile", "smooth.spline", "sd")

"gofWhite", "gofRn", "gofHybrid", "gofWhich", "gofWhichCopula", "gof",
importFrom("stats", constrOptim, cor, cov, ecdf, lm, optimise, qnorm, qt)

importFrom("VineCopula", BiCopGofTest, BiCopDeriv, BiCopDeriv2, BiCopPDF)
importFrom("stats", constrOptim, cor, cov, ecdf, lm, optimise, qnorm, qt, pchisq)

importFrom("stats", constrOptim, cor, cov, ecdf, lm, optimise, qnorm, qt, pchisq, nls)

"gofWhite", "gofHybrid", "gofWhich", "gofWhichCopula", "gof",
importFrom("utils", tail, capture.output, setTxtProgressBar, txtProgressBar)