Skip to content

terra

1.9-34

Spatial Data Analysis

554packages depend
2.6Mdownloads / year
34.4%test coverage
13/13checks pass

Overview

About
Maintained by Robert J. HijmansFirst published 2020-03-2065 releasesCRAN page ↗GitHub ↗

Methods for spatial data analysis with vector (points, lines, polygons) and raster (grid) data. Methods for vector data include geometric operations such as intersect and buffer. Raster methods include local, focal, global, zonal and geometric operations. The predict and interpolate methods facilitate the use of regression type (interpolation, machine learning) models for spatial prediction, including with satellite remote sensing data. Processing of very large files is supported. See the manual and tutorials on https://rspatial.org/ to get started.

Install

Health

CRAN checks
13OK
Slowest check: 43.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
34.4%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
  • ERROR2026-05-07
    10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
97%
Documented parameters
97%
Return-value docs
72%
References docs
4%

Downloads

2.6M
CRAN downloads in the past year
Rank #211 · ~7.2K/day · ~219.1K/mo
Daily download trend is not available in this view yet.
220K30 days
756.5K90 days
2.6M1 year
Compare downloads with other packages →
Also on33.3K r2u19 autocran73.1K conda_forge371 c2d4u

Repository

Repository
616Stars
107Forks
15Open issues
0Open PRs
1Releases
6,789Commits
57Contributors
rrastervectorgeospatialspatialr-package
License GPL-3.0 · 6,789 commits · Last activity 2026-08-17 · +0.7% stars, 30d

Stars over time

2025-07-21 · 5712026-08-18 · 616

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/rspatial/terra on 2026-08-16.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Issue templates
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0methods
Imports (1)
LinkingTo (1)
Enhances (0)
none

Code & Tests

People & History

People (10)
Maintainer (1)
Maintainer, Author
Authors (3)
Maintainer, Author
Author · added in 1.8-15
Author · added in 1.8-15
Contributors (7)
Contributor
Contributor · added in 1.8-10
Contributor · added in 1.7-83
Contributor · added in 1.7-78
Contributor
Contributor · added in 1.8-10
Contributor · added in 1.5-34
Listed in earlier versions (5)
no longer listed · 0.5-2 to 0.5-8
no longer listed · 0.5-2 to 1.6-17
no longer listed · 0.5-2 to 0.5-8
no longer listed · 0.7-11 to 1.6-17
no longer listed · 1.5-12 to 1.5-21
Package Timeline

65 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.9-34Latest
    2026-06-19 · current release · diff ↗
  • 1.9-27
    2026-05-10 · diff ↗
  • 1.9-25
    2026-05-06 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.9-11
    2026-03-26 · diff ↗
  • 1.9-1
    2026-03-08 · diff ↗
  • 1.8-93
    2026-01-12 · diff ↗
  • 1.8-86
    2025-11-28 · diff ↗
  • 1.8-80
    2025-11-05 · diff ↗
  • 1.8-70
    2025-09-27 · diff ↗
  • 1.8-60
    2025-07-21 · diff ↗
  • 1.8-54
    2025-06-01 · diff ↗
  • 1.8-50
    2025-05-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.8-42
    2025-04-02 · diff ↗
  • 1.8-29
    2025-02-26 · diff ↗
Show 57 earlier events

Package metadata

First published
2020-03-20
Total releases
65 / 6 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Download size
1.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("terra")
Hijmans, R. J., Barbosa, M., Bivand, R., Brown, A., Chirico, M., Cordano, E., Dyba, K., Pebesma, E., Rowlingson, B., & Sumner, M. D. (2026). terra: Spatial Data Analysis (Version 1.9-34) [Computer software]. https://doi.org/10.32614/CRAN.package.terra

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for terra version 1.9-34 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy