if(FALSE) {## currently do not "depend" on Rmpfr's correct installation:
## As we use it in "bad cases" polyG(), dsumSibuya(),..:
## currently needed when Rmpfr is detached, as it influences "numeric" (e.g. in examples testing):
## Should we provide these in a separate (very small) R pakage ?

## Copyright (C) 2012 Marius Hofert, Ivan Kojadinovic, Martin Maechler, and Jun Yan

# We would want importS3MethodsFrom("pspline", predict)
exportClasses(claytonCopula, frankCopula, gumbelCopula, amhCopula, joeCopula)
export(claytonCopula, frankCopula, gumbelCopula, amhCopula, joeCopula)
## export(dCdtheta, derPdfWrtParams, dTau, dRho)

importFrom("methods", ## incl generics for which we export new methods:
importFrom("stats", coef, nobs, vcov)# logLik? - already import from "stats4" for mle2
## NB: "Dangerous" to not also depend on Matrix; as 'methods' for Matrixclasses are not seen.
## FIXME: we would only want importS3MethodsFrom("pspline", predict)
## auxiliary functions mainly used for working with elliptical copulas:
export(pairwiseCcop, pairwiseIndepTest, pviTest, gpviTest, RSpobs, gofBTstat) # R/ggraph-tools.R
export(pairsColList, pairsRosenblatt, .pairsCond) # R/pairsRosenblatt.R
importMethodsFrom("stats4", coef,confint, logLik, AIC, BIC, plot, profile)
importFrom("gsl", debye_1, debye_2, dilog, complex_dilog)
importFrom("ADGofTest", ad.test)# really would want the ad.test.statistic() but that's hidden
,"cacopula", "dnacopula", "pnacopula", "rnacopula", "rnchild"
, debye1, debye2 # <- since we extend the gsl ones
## distribution of the radial part for Archimedean copulas

importMethodsFrom("stats4", coef, confint, logLik, AIC, BIC, plot, profile)
## As we use it only in "bad cases" polyG(), dsumSibuya(),..:
, .ac.shortNames, .ac.longNames, .ac.objNames, .ac.classNames

importFrom("stats", nobs, vcov)# 'coef': from "bblme"; 'logLik': from "stats4"
"coef", "confint", "logLik", #-> hence AIC works [BIC: needs 'nobs' fix in bbmle]

importFrom("stats", D, approxfun, cor # 'coef': from "bblme"; 'logLik': from "stats4"
, deriv, dnorm, dpois, dt, ecdf, integrate, lm.fit, median, model.matrix
, optimize, optim, p.adjust.methods, p.adjust
, pchisq, pgamma, pnorm, ppois, ppoints, printCoefmat, pt
, qchisq, qgamma, qlogis, qnorm, qqline, qt, quantile
, rbeta, rbinom, rcauchy, rexp, rgamma, rmultinom, rnorm, runif
importFrom("grDevices", col2rgb, dev.flush, dev.hold, dev.off, pdf)
importFrom("graphics", Axis, abline, axis, box, contour, curve
, layout.show, layout, lcm, lines, mtext
, callGeneric, existsFunction, hasArg, hasMethod, callNextMethod
, setValidity, validObject, slot, "slot<-", slotNames
## As we use it only in "numerically hard cases" polyG(), dsumSibuya(),..:
## rather user should require("mvtnorm") for these: GenzBretz, Miva, TVPACK,
,"coeffG" ## , "polyG", "polyJ", "signFF"
,"onacopula", "onacopulaL", "nac2list", "nesdepth", "rnacModel", "nacPairthetas"