Skip to the content.

MadingleyR Installation

The MadingleyR package can be directly installed from R using the devtools or remotes R package. The following command installs the package using the remotes R package:

# Load the remotes package
library('remotes') # or use library('devtools')

# Install the MadingleyR package
install_github('MadingleyR/MadingleyR', subdir='Package', build_vignettes = TRUE)

# Load MadingleyR package 
library('MadingleyR')

# Get version MadingleyR and C++ source code
madingley_version( )

# View the MadingleyR tutorial vignette
vignette('MadingleyR')

In addition to installing the MadingleyR dependencies (terra, sf and data.table), the installation process also downloads the precompiled C++ executable (no compilation needed), default spatio-temporal input layers and all other default input parameters and includes them in the installation folder.

Repository content

Package maintainer

Selwyn Hoeks

Updates

Troubleshooting

Please note that if the installation via Github fails, the MadingleyR package can be installed locally using the latest static release. Follow this link for the installation guide, select the latest release to make sure all updates are included.

MadingleyR workflow

Fig1
Overview of the MadingleyR workflow.