Closed AaronPlex closed 1 year ago
Good point. This can even bring down the overall usage of memory and time to download packages during runtime.
I found the following packages listed with a # are not used during the code at all. Raster, igraph, rworldmap, geosphere, colorspace and viridis are essential for this code. We can consider removing the libraries that are not essential (#).
library(raster)
library(igraph)
library(rworldmap)
library(geosphere)
data("countriesLow") library("colorspace") library(viridis)
Details here - #15 @AaronPlex
Could you check for which libraries are necessary to run the cropland connectivity analysis? For example, dismo is currently present in the code, but no function from this package is probably used.