This R package repository contains the SEFRA-seabird risk assessment model code and associated functions.
Package installation
To install the sefra package on your machine, we recommend using the following command:
Rscript -e "remotes::install_github(repo = 'sefra-seabirds/sefra', build_vignettes = TRUE, dependencies = TRUE, auth_token = Sys.getenv('GITHUB_SEFRA_SEABIRDS_PAT'))"
Please ensure that your Personal Access Token (PAT) has been updated to allow access.
Note that this package makes use of CmdStan and cmdstanr for model fitting.