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

export(DMMF, DMMFc, DMMF_Simple, SinkFill, MapChecker)

importFrom("stats", "dnorm", "model.matrix", "quantile", "rmultinom",

importFrom("stats", "complete.cases", "cor", "as.formula", "model.matrix",

#import(abind)  # commented out as it does not have a name space
# classes.R file (the class constructors need to be exported)

importFrom(quantmod, newTA, Delt, candleChart, Cl, Hi, Lo, Op)
importFrom("stats", "aggregate", "complete.cases", "dist", "median",

importFrom("stats", optim, pchisq, qnorm, rexp, rbinom, as.dist)

importFrom("graphics", "axis", "box", "plot", "points")

importFrom("stats", "median", "rnorm", "t.test", "lm")

exportClasses(CTMC, BDMC, CTMC_PO_1, CTMC_PO_many, BDMC_many)

importFrom("stats", "fft", "integrate", "nlm", "qnorm", "rbinom",
"rexp", "rgamma", "rmultinom", "runif", "sd", "var")

"rexp", "rgamma", "rmultinom", "runif", "sd", "var",

importFrom("stats", "pnorm", "qnorm", "sd", "var", "uniroot")

importFrom("stats", "pnorm", "qnorm", "sd", "var", "uniroot", "quantile", "qchisq", "wilcox.test")
importFrom("graphics", "abline", "plot", "points", "boxplot")

importFrom("stats", "cor", "rbeta", "rgamma", "rnbinom", "runif")

useDynLib(DPQ, .registration = TRUE, .fixes = "C_")
## as we only __suggest__ the package in ./DESCRIPTION
##  ==> where we use it we check every time if it's load()able ...
## For now export everything (but the C_*() C routines
, ".DT_Cexp", ".DT_CIv", ".DT_Clog", ".DT_Cval", ".DT_exp", ".DT_log", ".DT_Log"
, all_mpfr, any_mpfr # simple wrappers in  R/utils.R
, c_dt, c_dtAsymp, c_pt ## related to lb_chi*() above FIXME
, dchisqAsym, dnchisqBessel, dnchisqR, dnoncentchisq
, pchisqV, pchisqW., pchisqW # man/pnchisqAppr.Rd
, algdiv # name as in TOMS 708 .. but really?
, pnchisqAbdelAty, pnchisqPatnaik, pnchisqPearson, pnchisqSankaran_d
, pnchisq_ss, pnchisqIT, pnchisqTerms, pnchisqV
, qbetaAppr, qbetaAppr.1, qbetaAppr.2, qbetaAppr.3, qbetaAppr.4, qbeta.R
, qchisqAppr.0, qchisqAppr.1, qchisqAppr.2, qchisqAppr.3
, qnchisqAbdelAty, qnchisqPatnaik, qnchisqPearson, qnchisqSankaran_d
## no! titleR.exp (FIXME eventually: should not need such a global)