import(stats, Rcmdr, vegan)

importFrom(tcltk, tkfont.create, tkbutton)

export(BiodiversityRGUI, check.datasets, check.ordiscores, spatialsample, makecommunitydataset, stackcommunitydataset,
    removeNAcomm, replaceNAcomm, removeNAenv, subsetcomm, removezerospecies, balanced.specaccum, accumresult, accumplot, accumcomp,
    diversityresult, diversitycomp, diversityvariables,
    rankabundance, radfitresult, rankabunplot, rankabuncomp, renyiresult, renyiplot,
    renyiaccumresult, renyicomp, importancevalue, importancevalue.comp, prepare.bioenv,
    deviancepercentage, crosstabanalysis, dist.zeroes, dist.eval, PCAsignificance, add.spec.scores,
    NMSrandom, nnetrandom, ordibubble, ordisymbol, ordicluster2, ordinearest, ordivector, ordiequilibriumcircle, distdisplayed,
    ordicoeno, CAPdiscrim, caprescale, multiconstrained, disttransform, same.sites, loaded.citations, nested.anova.dbrda, nested.npmanova,
    ensemble.raster, ensemble.calibrate.models, ensemble.calibrate.weights,
    ensemble.calibrate.models.gbm, ensemble.calibrate.models.nnet, ensemble.formulae,
    ensemble.drop1, ensemble.batch, evaluation.strip.data, evaluation.strip.plot, ensemble.weights,ensemble.strategy,
    ensemble.simplified.categories, ensemble.accepted.categories, ensemble.dummy.variables, ensemble.habitat.change,
    ensemble.mean, ensemble.plot, ensemble.centroids, ensemble.zones, ensemble.novel, ensemble.novel.object, ensemble.area, 
    ensemble.analogue, ensemble.analogue.object, ensemble.ecocrop, ensemble.ecocrop.object, ensemble.threshold,
    ensemble.bioclim.object, ensemble.bioclim, ensemble.bioclim.graph, ensemble.bioclim.graph.data, ensemble.VIF,
    ensemble.spatialThin, BiodiversityR.changeLog, ensemble.pairs, ensemble.chull.create, ensemble.chull.apply, ensemble.red,
    ensemble.spatialThin.quant, ensemble.environmentalThin, ensemble.outlierThin, ensemble.environmentalThin.clara,
    ensemble.evaluate, ensemble.SEDI, ensemble.VIF.dataframe,
    ensemble.terra,
    import.with.readxl,
    ensemble.PET.season, ensemble.chull.buffer.distances, ensemble.chull.MSDM,
    sites.long, species.long, centroids.long, axis.long, accumcomp.long, renyicomp.long, renyi.long, ordisurfgrid.long, 
    vectorfit.long, ordiellipse.long, pvclust.long,
    ensemble.spatialBlock, ensemble.envBlock,
    ensemble.PET.seasons, ensemble.prec.season, ensemble.tmean.season, ensemble.season.suitability,
    ensemble.envirem.masterstack, ensemble.envirem.solradstack, ensemble.envirem.run,
    ensemble.concave.hull, ensemble.concave.venn, ensemble.concave.union,
    ensemble.outliers,
    .onAttach)

if(tools:::.OStype() == "windows") {
    export(import.from.Excel, import.from.Access, import.from.Excel2007, import.from.Access2007)
}
