importFrom(stats, density, ftable, na.omit, quantile, rnorm, update, mad, median, sd, var)

importFrom(grDevices, axisTicks, col2rgb, colorRampPalette, contourLines, devAskNewPage, dev.control, dev.cur, dev.list, dev.off, dev.size, pdf, recordPlot, rgb, rgb2hsv, xy.coords)
importFrom(graphics, .filled.contour, axis, box, contour, hist, legend, lines, mtext, par, plot, points, polygon, rasterImage, rect, strwidth, text, grconvertX, grconvertY)

importFrom(stats, dbinom, pchisq, rbinom, rgamma, runif)

importFrom("grDevices", "dev.off", "gray", "palette", "png")

importFrom("stats", "var", "median", "quantile", "rgamma", "rnorm", "runif")

## Load in the shared object; this used to be done in zzz.R
useDynLib("IGM.MEA", .registration = TRUE, .fixes = "C_")
importFrom("grDevices", "dev.cur", "dev.off", "dev2bitmap", "pdf",
importFrom("graphics", "abline", "arrows", "axis", "curve", "hist",
"legend", "lines", "matlines", "mtext", "par", "plot",
importFrom("stats", "aggregate", "approxfun", "cor", "dnorm", "embed",
"filter", "ks.test", "lm", "na.omit", "ppois", "predict",
"rnorm", "runif", "sd", "time", "ts", "uniroot", "var",
importFrom("utils", "read.csv", "tail", "write.csv", "write.table")

importFrom(purrr, map, map_lgl, map_chr, map2, walk)

importFrom(shiny, checkboxInput, numericInput, radioButtons, selectizeInput, sliderInput, textInput)
importFrom(shiny, htmlOutput, imageOutput, plotOutput, tableOutput, textOutput, verbatimTextOutput)
importFrom(shiny, renderImage, renderPlot, renderPrint, renderText, renderUI)
importFrom(shiny, isolate, observe, observeEvent, reactiveValues)

importFrom(shiny, isolate, observe, observeEvent, reactiveValues, reactiveTimer)

importFrom("stats", "fft", "integrate", "optimize", "rbinom", "rexp",

importFrom("stats", "as.formula", "complete.cases", "cov", "dnorm",
"lm", "model.frame", "pnorm", "rnorm", "sd")

importFrom("stats", qnorm, rnorm)# cor, cor.test, cov, cov2cor,
#           fisher.test, pchisq, pnorm, qnorm,
#           rbinom, rcauchy, rnorm, rt, runif,
#           sd, setNames, symnum, uniroot)
importFrom("graphics", par, plot, title)#, plot.default)
setClass, setMethod, setOldClass, as, is, validObject,
signature, new, setAs)#, setClassUnion, setValidity,
#           getClass, getClassDef, callGeneric, extends,
## aargh: slow loading {currently just for getGraph() and similar}
## importClassesFrom("Matrix", Matrix, sparseMatrix, TsparseMatrix)
#	   Qn, s_Qn, scaleTau2 #, Sn, s_Sn, s_mad, s_IQR
edgeRenderInfo, nodes, inEdges, numEdges, numNodes, "edgeRenderInfo<-")
importFrom("igraph", igraph.from.graphNEL, get.edgelist, as_adjacency_matrix)#, graph.adjacency, is.chordal,
#	   plot.igraph, graph.dfs, k.regular.game, get.adjacency,
#	   biConnComp, johnson.all.pairs.sp, separates, bfs, connectedComp)
## also    sp.between -- but only for deprecated beta.special(), hence RBGL::*
importFrom("ggm", isAcyclic)#, transClos, topOrder, msep)
importFrom("Rcpp", evalCpp) # Needed for any package relying on Rcpp headers...
#importFrom("bdsmatrix", gchol) ## for jointIda ("MCD")
#export(getGraph)# our S4 generic including methods
#exportMethods(# needed? "coerce",# <- defined via setAs(., ..) used via  as(A, "class_B")