#####################################
##               Export            ##
#####################################

export(accept.calculate,
       addpoints,
       calcmode,
       cluster.graph,
       cluster.id,
       components.graph,
       coda.create,
       combine.chains,
       convert.graph,
       create.parameter.df,
       edge.graph,
       extract.graph,
       import.shape,
       ifm.naive.MCMC,
       ifm.missing.MCMC,
       ifm.robust.MCMC,
       iterate.graph,
       list.stats,
       manage_landscape_sim,
       manage_expansion_sim,
       matrix.graph,
       merge_order,
       metrics.graph,
       min_distance,
       parameter.estimate,
       plotL.graph,
       plot_expansion,
       plot_graph,
       removepoints,
       remove.species,
       range_raster,
       range_expansion,
       rland.graph,
       simulate_graph,
       span.graph,
       species.graph,
       spom,
       summary_landscape,
       summary_metapopulation
       )

#####################################
##              Imports            ##
#####################################

import("igraph")
import("knitr")

importFrom("terra", rast, mosaic, contour, as.matrix, image, writeRaster, vect, centroids, crds)
importFrom("e1071", allShortestPaths, extractPath)
importFrom("graphics", symbols, segments, par, lines, plot, points, hist)
importFrom("googleVis", gvisLineChart, gvisMerge)
importFrom("minpack.lm", nls.lm, nls.lm.control, nlsLM, wfct)
importFrom("sp", select.spatial, SpatialPoints)
importFrom("stats", rpois,coefficients, C)
importFrom("stats", cutree, hclust, dist, sd, binomial, coef, glm, na.omit, rnorm, runif,lm, density, rbinom, dbinom)
importFrom("grDevices", rainbow, dev.new, dev2bitmap)
importFrom("utils", combn, write.table, packageVersion)
importFrom("zipfR", Igamma)
importFrom("coda",read.coda, gelman.diag, cumuplot)

importFrom(spatstat.geom, as.ppp)
importFrom(spatstat.geom, nndist)
importFrom(spatstat.geom, npoints)
importFrom(spatstat.geom, owin)
importFrom(spatstat.random, rSSI)
importFrom(spatstat.geom, pairdist)
importFrom(spatstat.geom, coords)