importFrom("grDevices", "dev.new", "dev.off", "grey", "rainbow", "rgb", "xy.coords")
importFrom("graphics", "axis", "contour", "legend", "mtext", "par", "plot.new", "plot.window", "points", "polygon", "rect", "text", "title")
importFrom("stats", "as.dist", "cmdscale", "na.omit", "prcomp", "varimax")

useDynLib(qle, .registration = TRUE, .fixes = "C_")

## Export functions for quantile mapping
importFrom(fitdistrplus,mledist) ## required for fitQmapDIST

importFrom("stats", "approx", "coef", "dexp", "dgamma", "dlnorm",
"dweibull", "lm", "na.omit", "optim", "pexp", "pgamma",
"plnorm", "predict", "pweibull", "qexp", "qgamma", "qlnorm",
"quantile", "qweibull", "rexp", "rgamma", "rlnorm", "runif",
"rweibull", "sd", "smooth.spline", "splinefun", "var")

importFrom("dplyr", "summarise", "group_by", "select", "across", "all_of")

importFrom("graphics", "abline", "axis", "dotchart", "points", "legend", "mtext", "segments")
importFrom("stats", "cor", "dnorm", "na.omit", "qnorm", "quantile", "sd", "var", "varimax")
importFrom("utils", "capture.output", "combn", "read.csv", "read.csv2", "read.delim", "read.fwf")

importFrom("utils", "capture.output", "combn", "read.csv", "read.csv2", "read.delim", "read.fwf", "packageVersion")

export(queue, WM, LqDist, WMdiffresp, WMdiffrespweight, WMdiffrespshift, WMdiffrespshiftweight, sim.ny)
useDynLib(qmvs, .registration = TRUE, .fixes = "C_")

sliwin, Rsq, resVar, pcrplot, confband, eff,
pcrpred, pcrGOF, expcomp, pcrimport, pcrfit,

AICc, evidence, modlist, pcropt1, propagate,

ratiocalc, ratioplot, curvemean, PRESS, akaike.weights,

efficiency, mchoice, sliwin, Rsq, resVar,
LR, RSS, residplot, Cy0, maxRatio, REST, drmfit, calib2

importFrom("rgl", plot3d, points3d, axis3d, mtext3d, lines3d)

"barplot", "boxplot", "hist", "image", "legend", "lines",
importFrom("stats", "AIC", "BIC", "D", "anova", "arima", "as.formula",
"coef", "complete.cases", "convolve", "cov", "deriv",
"df.residual", "embed", "filter", "fitted", "formula",
"integrate", "lm", "logLik", "lowess", "mad", "mahalanobis",
"median", "na.exclude", "na.omit", "pchisq", "pnorm",
"predict", "princomp", "pt", "qchisq", "qnorm", "qt",
"quantile", "residuals", "rnorm", "rstudent", "sd",
"smooth.spline", "splinefun", "supsmu", "update", "vcov")
importFrom("utils", "View", "flush.console", "head", "modifyList",