This section describes how to install the mapme.biodiversity package. Since the package handles spatial data, we assume that you have a working installation of GDAL and PROJ on your system. The GDAL installation needs to be found on your PATH variable, because several system calls will be issued when the package is used. Please refer to the respective installation guides to learn about how to install these programs on your OS. While the package supports sequentially downloading all supported resources, we include the option to provide a path to an aria2 executable to speed up the download based on parallel processing. We expect that the path to the executable binary is known to the user and we test it if provided during portfolio initialization.
Given that the above requirements are met, installing the mapme.biodiversity current CRAN release is then achieved through the following function call:
You can install the latest development version from GitHub via the following call:
The installation process will install potential missing R dependencies. After the successful installation, you are ready to use the package’s functionality. Simply load the package for your R session with the library call: