#importFrom("parallel", detectCores) # for gbm package
import("pROC") # import the whole package to get S3 Methods
### raster package is at time consider as dependencie
#importFrom(raster, addLayer, calc, canProcessInMemory, cellFromXY, cv, extract, inMemory, maxValue, minValue, ncell, nlayers, predict, raster, rasterOptions, reclassify, readAll, sampleRandom, stack, Which, writeRaster)
### sp package is at time consider as dependencie
#importFrom(sp, coordinates, read.asciigrid, SpatialPointsDataFrame, spplot)
### To export automaticaly all classes, methods and functions ###
### To export only user level functions ###

### imports for ecospat.xxx functions (to be removed at some point?)
"dev.off", "gray", "jpeg", "pdf", "png", "postscript",
importFrom("graphics", "abline", "axis", "layout", "legend", "par",
importFrom("stats", "as.formula", "binomial", "cor", "formula", "glm",
"median", "na.omit", "qt", "sd", "terms")
importFrom("utils", "combn", "read.csv", "str", "write.table")

importFrom(raster, raster, stack, subset, nlayers, addLayer, reclassify, distance, mask, levels)
importFrom(raster, canProcessInMemory, rasterOptions, head, sampleRandom, ncell, extract, writeRaster)
importFrom(raster, tail, calc, cv, inMemory, readAll, maxValue, minValue, quantile, aggregate, text)
importFrom(raster, lines, density, persp, Which, extent, hist, filename, crop, cellStats, cellFromXY)
importFrom("dplyr", "bind_rows", "filter", "pull", "select_at", "bind_cols", "%>%", 'select', 'full_join', 'mutate_at', 'tibble')
importFrom("utils", "combn", "read.csv", "str", "write.table", "setTxtProgressBar", "txtProgressBar")

export("dif", "dis", "kmeans.run", "mat.dif", "mat.dis", "mmds", "mmds.plot", "mmds.2D.plot", "scree.plot", "random.msa", "read.fasta", "read.msf", "sil.score", "write.mmds.pdb","col.group")

export("dif", "dis", "kmeans.run", "mat.dif", "mat.dis", "mmds", "mmds.plot", "mmds.2D.plot", "mmds.3D.plot","scree.plot", "random.msa", "read.fasta", "read.msf", "sil.score", "write.mmds.pdb","col.group","extract.cluster","write.fasta")