## Export the fvcom.grid class and its methods.
exportMethods(find.elem, get.depth, get.elems, get.nelems, get.nnodes, get.nodes, get.proj, image, interp, is.in.grid, lines, pdd)

importFrom("sp", SpatialLines, Lines, Line, proj4string)

import(methods)
exportClasses(oce, adp, adv, cm, coastline, ctd, drifter, lisst, lobo, met, sealevel, section, tdr, tidem, topo, windrose)

import(methods)
exportClasses(oce, adp, adv, cm, coastline, ctd, drifter, lisst, lobo, met, sealevel, section, tdr, tidem, topo, windrose)

importFrom("stats", "dgamma", "dnbinom", "dnorm", "model.matrix", "optim", "pnbinom", "rgamma", "rnbinom", "rnorm", "runif", "sd")
importFrom(coda, as.mcmc, batchSE, heidel.diag, HPDinterval)

# Generated by roxygen2: fake comment so roxygen2 overwrites silently.
exportPattern("^[^\\.]")
importFrom("stats", "addmargins", "coef", "confint", "pchisq")

importFrom(graphics, par, pairs, plot, text)

importFrom("parallel", "stopCluster", "makeCluster", "detectCores", "parLapply")

###------------ Imports ----------------------
## 1) Very radical ... but works at least
import(stats)# *before* lme4!
import(Matrix)
import(lme4)# it uses *many* of those, e.g. lmer(), fixef(), VarCor(), ...
if(FALSE) {## 2) less radical .. but needs more experimentation
importFrom(stats, lm, logLik, vcov)  #.. add more
importFrom(Matrix, diag)# .. add more
importFrom(lme4,  lmer, logLik, fixef, vcov, VarCorr)
}
importFrom(fields, image.plot)# only used in R/plot3d.prism.R
###------------ Exports ----------------------
## cheap but "not recommended for production code":
exportPattern("^[^\\.]")## all but the "."

export(getTree,ofwCART ,ofwSVM, learnCART,  learnSVM,  evaluateCARTparallel, ofwTune, learn, ofw)

export(getTree,ofwCART ,ofwSVM, learnCART,  learnSVM,  evaluateCARTparallel, ofwTune, learn, ofw, evaluateCART, evaluateSVM, evaluate)

export(getTree,ofwCART ,ofwSVM, learnCART,  learnSVM,  evaluateCARTparallel, ofwTune, learn, ofw, evaluateCART, evaluateSVM, evaluate, simplexe, svmlearn)

importFrom("dplyr", "tbl", "left_join", "bind_rows", "bind_cols", "summarise",
"rename", "all_of", "n", "collect", "select", "mutate", "sym",