README.md

Animove Meta-Package

Installing this package ensures that the R packages needed for the AniMove course are available on each participant's computer. In addition, it provides example data to be used during the lectures.

Installation

Install system dependencies

Please make sure that the GDAL libraries are installed on your system (for the time being we might still be using some packages that depend on GDAL).

Install the animove R package

install.packages("remotes")
remotes::install_github("AniMoveCourse/animove_R_package")

Issues when installing

If you get an error message that MODIStsp cannot be installed. Please install it first directly through R install.packages("MODIStsp"). You might be missing some dependencies on the system, instructions will be given with the error message (scroll up). For Ubuntu users these might be the following:

sudo apt install libjq-dev sudo apt install libprotobuf-dev sudo apt install protobuf-compiler

Once these are successfully installed, install the animove_R_package package again

If you get a issue similar to:

Error: Failed to install 'unknown package' from GitHub:
   HTTP error 401.
 Bad credentials

The suggestion described here should solve it

Included Example Data

library(animove)

## Load movement data of African buffalo
data(buffalo_ll_mv2)  # unprojected (LatLong)
data(buffalo_utm_mv2) # projected (UTM 36S)

## Environmental layers
data(buffalo_env)

## Plot
plot(buffalo_env[[1]])
points(sf::st_coordinates(buffalo_utm_mv2))


AniMoveCourse/animove documentation built on Aug. 23, 2023, 8:53 p.m.