Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 4 min ago
Peer-reviewedCC BY 4.0Ecological Informatics

‘envar’: An R package to retrieve and process environmental variables for macroecology and biogeography

Abstract

The selection of environmental variables is a cornerstone of biogeographical analyses. However, most studies use standard sets of predictors, without fully leveraging the variety of available environmental data. Here, we present ‘envar’, an R package to retrieve and process 372 global variables at ∼ 1 km resolution from 23 different sources, describing climate and land cover (past, current, and future), landscape heterogeneity, habitats, soil characteristics, topography, freshwater/marine environments, human impacts, and protected areas. Through ‘envar’, the user defines a study area, a buffer in km, a coordinate reference system, the resolution, the variables to download, and the correlation and extrapolation checks. The output is one or multiple raster(s) with the downloaded and processed variables, or a table with the extracted variables over the specified points, and optionally information on correlation and extrapolation. We also illustrate the package's potential to streamline the development of Species Distribution Models (SDMs), using as a case study the butterfly Parnassius apollo in the European Alps. We use ‘envar’ to: 1) create a raster template with a buffer around occurrences where bias-corrected background points are selected, 2) extract predictors for occurrences and background points across Europe checking for collinearity, and 3) obtain predictors for the European Alps checking for extrapolation. ‘envar’ can foster the selection of a set of uncorrelated proximal variables tailored to the specific research question, across all of biogeography and macroecology, while limiting niche truncation, collinearity, and extrapolation.

Related

  1. Environmental variables associated with Arbuscular Mycorrhizal Fungi diversity in Ohio soybean agricultural systems.
    Samaneh Tajik, Florence Breuillin-Sessoms, Timothy Frey +3
    MycorrhizaPeer-reviewedCC BYFull textPlant biologyEurope PMC
  2. Distinct amygdala-striatal and amygdala-cortical circuits encode and retrieve predictive learning to guide choice and decision-making
    E. Pepin, B. C. Chieng, N. Lingawi +3
    bioRxivPreprintAll rights reservedFull textZoology & animal behaviourbioRxiv
  3. Climate-driven fitness decline in Japanese Chum Salmon reshapes North Pacific salmon biogeography, with reproductive consequences: A Bayesian network analysis
    S. Kitada, H. Kishino
    bioRxivPreprintAll rights reservedFull textEvolutionary biologybioRxiv
  4. Population genetic insights into biogeography and clonality of the perennial Ambrosia psilostachya DC. (Asteraceae) in the United States of America
    Gerhard Karrer, Rea Hall, Valerie Le Corre +1
    FloraPeer-reviewedCC BY 4.0Full textGenetics & genomicsHAL
  5. Biotic interactions biogeography: A framework for understanding how species interactions shape biodiversity patterns across scales
    Núria Galiana, Miguel B. Araújo
    PLoS BiologyPeer-reviewedCC BYFull text6 citedEcologyOpenAlex
BibTeX
@article{simoncini2026envar,
  title = {{‘envar’: An R package to retrieve and process environmental variables for macroecology and biogeography}},
  author = {Andrea Simoncini and Michele Bertoncini and Andrea Cerofolini and Andrea Dalpasso and Gentile Francesco Ficetola and Mattia Falaschi and Elia Lo Parrino},
  journal = {Ecological Informatics},
  year = {2026},
  month = oct,
  doi = {10.1016/j.ecoinf.2026.104033},
  url = {https://hal.science/hal-05786427v1},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - ‘envar’: An R package to retrieve and process environmental variables for macroecology and biogeography
AU  - Andrea Simoncini
AU  - Michele Bertoncini
AU  - Andrea Cerofolini
AU  - Andrea Dalpasso
AU  - Gentile Francesco Ficetola
AU  - Mattia Falaschi
AU  - Elia Lo Parrino
PY  - 2026
DA  - 2026/10/08
JO  - Ecological Informatics
DO  - 10.1016/j.ecoinf.2026.104033
UR  - https://hal.science/hal-05786427v1
AB  - The selection of environmental variables is a cornerstone of biogeographical analyses. However, most studies use standard sets of predictors, without fully leveraging the variety of available environmental data. Here, we present ‘envar’, an R package to retrieve and process 372 global variables at ∼ 1 km resolution from 23 different sources, describing climate and land cover (past, current, and future), landscape heterogeneity, habitats, soil characteristics, topography, freshwater/marine environments, human impacts, and protected areas. Through ‘envar’, the user defines a study area, a buffer in km, a coordinate reference system, the resolution, the variables to download, and the correlation and extrapolation checks. The output is one or multiple raster(s) with the downloaded and processed variables, or a table with the extracted variables over the specified points, and optionally information on correlation and extrapolation. We also illustrate the package's potential to streamline the development of Species Distribution Models (SDMs), using as a case study the butterfly Parnassius apollo in the European Alps. We use ‘envar’ to: 1) create a raster template with a buffer around occurrences where bias-corrected background points are selected, 2) extract predictors for occurrences and background points across Europe checking for collinearity, and 3) obtain predictors for the European Alps checking for extrapolation. ‘envar’ can foster the selection of a set of uncorrelated proximal variables tailored to the specific research question, across all of biogeography and macroecology, while limiting niche truncation, collinearity, and extrapolation.
SN  - 1574-9541
ER  -