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

terms, traceplot, tv, value, vexpit, Dexpit, vexp, Dexp, vlog, vlog2,

terms, traceplot, tv, tvAUC, tvROC, value, vexpit, Dexpit, vexp, Dexp, vlog, vlog2,
importFrom("utils", "glob2rx", "tail", "head", "combn")
"reformulate", "predict", "pnorm", "ave", "median")
importFrom("graphics", "abline", "axis", "box", "lines", "mtext", "par",

export(area, calibration_metrics, calibration_plot, cumuplot, coef, compare_jm,
crLong, densplot, family, fixef, gelman_diag,
terms, traceplot, tv, tvAUC, tvBrier, tvROC, value, vexpit, Dexpit, vexp,
"reformulate", "predict", "pnorm", "ave", "median", "density")
importFrom("survival", "coxph", "untangle.specials", "strata", "survfit")

crisk_setup, rc_setup, densplot, family, fixef, gelman_diag,
Dexp, vlog, vlog2, vlog10, vsqrt, poly2, poly3, poly4)

export(joinpoint, read.seerstat, CoxFit, plot.joinpoint, predict.joinpoint, print.joinpoint, summary.joinpoint, aapc, CoxModel_Year)

useDynLib(JRF, regRF, .registration = TRUE)

importFrom("stats", "cov2cor", "formula", "model.frame", "qnorm",

## we cannot use useDynLib on Windows because PATH has to be tweaked first at run-time
useDynLib(JavaGD, newJavaGD, javaGDversion, setJavaGDClassPath, getJavaGDClassPath, javaGDsetDisplayParam, javaGDgetDisplayParam, javaGDobjectCall, javaGDgetSize, javaGDresizeCall)

importFrom("grDevices", "dev.copy", "dev.cur", "dev.off", "dev.set", "pdf")

#export all variables that do not start with a period

importFrom("stats", "aggregate", "formula", "lm", "model.matrix",

importFrom("stats", "aggregate", "coef", "formula", "lm", "model.frame", "model.matrix",
"predict", "resid", "terms", "var", "vcov")

importFrom("grDevices", "colorRampPalette", "dev.new", "dev.off", "dev.set", "graphics.off", "palette", "pdf")
importFrom("graphics", "abline", "frame", "image", "layout", "lines", "locator", "par", "plot", "points", "text")
importFrom("stats", "approxfun", "median", "optim", "preplot", "quantile")

importFrom(rvest, html_text, html_node, html_nodes, html_attr, html_children)
importFrom(tm, VCorpus, DataframeSource, tm_map, stripWhitespace, content_transformer, PlainTextDocument, removeWords, removeNumbers, DocumentTermMatrix, weightBin)
importFrom(utils, browseURL, flush.console, read.delim, write.table)