letsR: Data Handling and Analysis in Macroecology

Tools for handling, processing, and analyzing species geographic distributions, environmental data, and biodiversity patterns across geographical, environmental, and attribute spaces. Includes functions for constructing and analyzing species distributions, estimating geographic ranges from occurrence records, and conducting spatial analyses in macroecology. See Vilela and Villalobos (2015) <doi:10.1111/2041-210X.12401> and Vilela et al. (2026) <doi:10.1111/2041-210X.70421> for details.

Version: 6.1
Depends: R (≥ 3.1.0), terra, grDevices, graphics, methods, stats
Imports: dbscan, geosphere, sf (≥ 1.0-11)
Suggests: testthat, devtools, knitr, rmarkdown, dplyr, kableExtra, ggplot2, rnaturalearth
Published: 2026-11-26
DOI: 10.32614/CRAN.package.letsR
Author: Bruno Vilela ORCID iD [aut, cre], Bruna M. Farina ORCID iD [ctb], Ricardo Dobrovolski ORCID iD [ctb], Sidney F. Gouveia ORCID iD [ctb], José Alexandre F. Diniz-Filho ORCID iD [ctb], Thiago F. Rangel ORCID iD [ctb], Trevor S. Fristoe ORCID iD [ctb], Carlos Calderón del Cid ORCID iD [ctb], Marco Túlio Pacheco Coelho ORCID iD [ctb], Catherine H. Graham ORCID iD [ctb], Fabricio Villalobos ORCID iD [aut]
Maintainer: Bruno Vilela <bvilela.bv at gmail.com>
BugReports: https://github.com/macroecology/letsR/issues
License: GPL-2
URL: https://doi.org/10.1111/2041-210X.12401, https://doi.org/10.1111/2041-210X.70421, https://github.com/macroecology/letsR, https://brunovilela.github.io/letsR/
NeedsCompilation: no
SystemRequirements: GEOS (>= 3.11.0) for lets.range()
Citation: letsR citation info
Materials: README, NEWS
CRAN checks: letsR results

Documentation:

Reference manual: letsR.html , letsR.pdf
Vignettes: A guide-to-transform-species-distributions-into-a-presence-absence-matrix-based (source, R code)
Adding-variables-to-a-presenceabsence-object (source, R code)
Cross-mapping-biodiversity-metrics-Phyllomedusa (source, R code)
Mapping-species-richness-in-attribute-space (source, R code)
Mapping-species-richness-in-environmental-space (source, R code)
cropping-and-subsetting-your-presence-absence-matrix (source, R code)
Exploring autocorrelation across distances with lets.correl() (source, R code)
Estimating species geographic ranges with lets.range() (source, R code)
From incomplete environmental and attribute spaces to continuous estimates (source, R code)
mapping-species-traits (source, R code)
Saving and loading letsR objects (source, R code)
species-level-macroecological-analysis (source, R code)

Downloads:

Package source: letsR_6.1.tar.gz
Windows binaries: r-devel: letsR_6.0.zip, r-release: letsR_6.0.zip, r-oldrel: letsR_6.0.zip
macOS binaries: r-release (arm64): letsR_6.1.tgz, r-oldrel (arm64): letsR_6.1.tgz, r-release (x86_64): letsR_6.1.tgz, r-oldrel (x86_64): letsR_6.1.tgz
Old sources: letsR archive

Reverse dependencies:

Reverse suggests: VasGBIF

Linking:

Please use the canonical form https://CRAN.R-project.org/package=letsR to link to this page.