Package: spacemodR Title: Wildlife Chemical Risk Mapping Through Food Webs Version: 0.3.5 Date: 2026-10-14 Authors@R: c(person("Virgile", "Baudrot", email = "virgile.baudrot@qonfluens.com", role = c("aut", "cre", "cph")), person("Léa", "Bariod", email = "lea.bariod@univ-fcomte.fr", role = "aut"), person("Clémentine", "Fritsch", email = "clementine.fritsch@univ-fcomte.fr", role = c("aut", "cph")), person("Renaud", "Scheifler", email = "renaud.scheifler@univ-fcomte.fr", role = "aut"), person("Quentin", "Devalloir", email = "quentin.devalloir@qonfluens.com", role = "aut") ) Description: A workflow to map the risk of chemicals for wildlife: habitat, food web, dispersal, exposure and risk. Starting from a raster of chemical concentrations in the environment (e.g., metals in soil, pesticides in fields), the package builds habitat layers for a set of species, organises them in a directed acyclic graph representing a food web, and propagates the flow of elements (e.g., food, energy, chemicals) along its links. It also provides soil interpolation by kriging, dispersal by kernel convolution or by circuit theory (through the optional 'Julia' package 'Omniscape'), land cover retrieval for France ('OCS-GE') and Europe ('EUNIS'), and Bayesian calibration of transfer models with 'Stan'. License: MIT + file LICENSE URL: https://github.com/Qonfluens/spacemodR, https://qonfluens.github.io/spacemodR/ BugReports: https://github.com/Qonfluens/spacemodR/issues Imports: dplyr, ggplot2, httr, methods, patchwork, Rcpp (>= 0.12.0), rlang, rstan (>= 2.18.1), rstantools (>= 2.4.0), sf, terra, tools Encoding: UTF-8 LazyData: true Suggests: archive, knitr, rmarkdown, testthat (>= 3.0.0), JuliaCall, tidyterra, scales, purrr, quarto, tidyr, leaflet, gstat Config/testthat/edition: 3 VignetteBuilder: knitr Depends: R (>= 4.1.0) Biarch: true LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0), RcppParallel (>= 5.0.1), rstan (>= 2.18.1), StanHeaders (>= 2.18.0) SystemRequirements: GNU make, Julia (optional, for dispersal with 'Omniscape') Config/roxygen2/version: 8.0.0 RoxygenNote: 7.3.3 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev make libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://qonfluens.r-universe.dev Date/Publication: 2026-10-14 09:40:09 UTC RemoteUrl: https://github.com/qonfluens/spacemodr RemoteRef: HEAD RemoteSha: 22367e37e4fdfabababa5f5e97a8eb3d677e4cdf NeedsCompilation: yes Packaged: 2026-10-14 14:10:58 UTC; root Author: Virgile Baudrot [aut, cre, cph], Léa Bariod [aut], Clémentine Fritsch [aut, cph], Renaud Scheifler [aut], Quentin Devalloir [aut] Maintainer: Virgile Baudrot