importFrom("stats", var, pchisq, pf, qchisq, chisq.test, median, complete.cases, bartlett.test, fligner.test, shapiro.test, p.adjust, dnorm, qqline, qqnorm, quantile, sd, pt, pnorm, rnorm, rchisq, model.frame)

importFrom("stats", "rbinom", "rnorm", "rpois", "runif")

export(batchpca, coef2fd, create.basis, fd2coef, incRpca,

export(batchpca, ccipca, coef2fd, create.basis, fd2coef, ghapca, impute, incRpca,
incRpca.rc, perturbationRpca, secularRpca, sgapca, snlpca,

importFrom(stats, lsfit, quantile, runif, rnorm, uniroot)
export(batchpca, bsoipca, ccipca, coef2fd, create.basis, fd2coef, ghapca, impute,
incRpca, incRpca.block, incRpca.rc, perturbationRpca, secularRpca,

importFrom("stats", ".checkMFClasses", "approx", "as.formula", "coef",
"confint", "deviance", "fitted", "formula", "getInitial",
"optimize", "printCoefmat", "profile", "pt", "qf", "qt",
"resid", "residuals", "spline", "symnum", "update")

importFrom("stats", "ks.test", "rnorm", "dnorm", "dist", "runif", "var", "na.omit", "kmeans", "sd")

importFrom(stats, ks.test, rnorm, dnorm, dist, runif, var, na.omit, kmeans, sd)

importFrom("stats", "ks.test", "na.omit", "dist", "prcomp")
importFrom ("twosamples", "ad_stat", "kuiper_stat", "cvm_stat", "wass_stat", "dts_stat")

importFrom(stats, ks.test, na.omit, dist, prcomp)
importFrom (twosamples, ad_stat, kuiper_stat, cvm_stat, wass_stat, dts_stat)

importFrom (graphics, "axis", "box", "contour", "plot", "points", "segments", "mtext")
importFrom (utils, "packageDescription", "packageVersion", "flush.console", "combn", "tail")
importFrom (stringr, "str_trim", "str_split", "str_c", "str_pad")
importFrom (stats, "AIC", "coef", "logLik", "as.formula", "model.matrix", "nlm", "optim", "vcov",
"predict", "qnorm", "dpois", "dbinom", "dnbinom", "runif", "sd")
useDynLib (openCR, .registration = TRUE)

importFrom (graphics, "axis", "box", "contour", "plot", "points", "segments", "mtext", "lines", "par")
importFrom (utils, "packageDescription", "packageVersion", "flush.console", "combn", "head", "tail")
"predict", "qnorm", "dpois", "dbinom", "dnbinom", "runif", "sd", "median")
importFrom (RcppParallel, "RcppParallelLibs", "setThreadOptions", "defaultNumThreads")
importFrom (R2ucare, "test3sr", "test3sm", "test2ct", "test2cl", "overall_CJS")