Skip to content

ausgis/geocomplexity

Repository files navigation

geocomplexity geocomplexity website

cran downloads_all downloads_month r-universe

Mitigating Spatial Bias Through Geographical Complexity

Installation

  • Install from CRAN with:
install.packages("geocomplexity", dep = TRUE)
  • Install development binary version from R-universe with:
install.packages('geocomplexity',
                 repos = c("https://ausgis.r-universe.dev",
                           "https://cloud.r-project.org"),
                 dep = TRUE)
  • Install development source version from GitHub with:
# install.packages("devtools")
devtools::install_github("ausgis/geocomplexity",
                         build_vignettes = TRUE,
                         dep = TRUE)

Please ensure that appropriate C++ compilation environment is configured and Rcpp & RcppArmadillo is properly installed in advance if you want to install geocomplexity from source. See the next topic on C++ Settings for more information.

Set up to use C++ compilation environment

Windows:

Linux

Debian/Ubuntu:

apt-get update
apt-get install r-base-dev

Fedora/RedHat: should be set up already.

MacOS

  • Install the Xcode command line tool.

  • Then, in the terminal:

    xcode-select --install