Skip to content

terra

Spatial Data Analysis

v1.9-11 · Mar 26, 2026 · GPL (>= 3)

Description

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.

Downloads

216.5K

Last 30 days

222nd

618.5K

Last 90 days

2.4M

Last year

Trend: +3.5% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘terra/libs/terra.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘terra/libs/terra.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'terra/libs/x64/terra.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 136.7Mb
  sub-directories of 1Mb or more:
    R       3.0Mb
    libs  132.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 139.7Mb
  sub-directories of 1Mb or more:
    R       3.0Mb
    libs  134.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 113.7Mb
  sub-directories of 1Mb or more:
    R      2.5Mb
    gdal   3.0Mb
    libs  97.5Mb
    proj   9.0Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘terra/libs/terra.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 136.7Mb
  sub-directories of 1Mb or more:
    R       3.0Mb
    libs  132.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 138.2Mb
  sub-directories of 1Mb or more:
    R       3.1Mb
    libs  133.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 113.7Mb
  sub-directories of 1Mb or more:
    R      2.5Mb
    gdal   3.0Mb
    libs  97.5Mb
    proj   9.0Mb

Reverse Dependencies (499)

imports

AgePopDenom AquaBEHER BAT BIEN BIOMASS BoundaryStats BrazilMet CAST CCAMLRGIS CDSE CMIP6VisR CatastRo ClimaRep CoordinateCleaner CspStandSegmentation DEPONS2R ENMTools ENMeval EcoCleanR Euclimatch ExposR FIESTAutils FedData ForestTools GHCNr GeNetIt GeoAdjust GeoThinneR HurreconR ICvectorfields INLAspacetime ISRaD InterpolateR IsoriX LAIr LPDynR LST MBHdesign MIAmaxent MODISTools MRG MetaLandSim MigConnectivity MultiscaleSCP NetLogoR OCNet OTBsegm Orcs OtsuFire PHENTHAUproc PlanetNICFI PointedSDMs PopGenHelpR QBMS RCzechia RFplus RPhosFate RRgeo RStoolbox RcamelsCL Recocrop RiskMap Rsagacmd Rtrack RuHere S4DM SAiVE SDMtune SESraster SHARK4R SSIMmap SUMMER SeaGraphs SnowData SpaDES.core SpaDES.tools SppTrend StormR SurfaceTortoise TCHazaRds TroublemakeR Ts USE WaterBalanceR aboveR adw ag5Tools agriwater amadeus amt arcgislayers arcpullr arete ascotraceR assignR atakrig atpolR aws.wrfsmn barrks basemaps bayesEO bespatial bioclim biomod2 bitfield bivariatemaps blackmarbler blockCV camtrapR caretSDM cdlTools cercospoRa cffdrs chirps cholera chooseGCM chopin clc climateStability climetrics climodr cnmap coveR2 cropDemand cropZoning crownsegmentr crstools ctmm damAOI dartR.popgen daymetr deforestable disaggregation diseasemapping dismo divraster divvy dots downscale dsmSearch dynamicSDM dynatopGIS eDITH earthtones easyclimate ebirdst ebvcube ecospat ecotrends elevatr enerscape enmSdmX enmpa envi epm eseis eva3dm fastbioclim fasterRaster fastfocal faunabr fireexposuR fitbitViz flexurba florabr foto fpROC gateR gatoRs gdistance gecko geocausal geocmeans geocomplexity geodiv geodl geoflow geohabnet geomerge geoprofiler geospatialsuite geotargets geotopbricks ggmapcn gloBFPr glossa grec greenR greenSD growthTrendR gtfs2emis gtfs2gps habtools happign hwsdr hypervolume imageRy inecolr infocausality infoxtr jollofR kernelPhil kuenm2 landform landscapeR landscapemetrics latbias ldmppr leastcostpath lidR lidaRtRee lifeR linemap link2GI loopevd macroBiome makePalette malariaAtlas mapSpain mapgl mapme.biodiversity mappestRisk mapsRinteractive maptiles mbg mddmaps medfateland metaRange meteo mkde mlr3spatial modEvA modisfast monographaR mop move movecost movedesign movegroup mrangr multilandr nichevol nimblewomble npphen ofpetrial ohvbd ows4R paisaje paleobioDB pc phenomap phenopix phyloraster phyloregion phylospatial pliman prior3D priorCON prioritizr prioritizrdata prism quaxnat quickPlot rLakeHabitat rPAex raceland rangeBuilder rangeModelMetadata rangr rapr rassta raster rasterVis rasterbc rasterdiv rasterpic rcontroll rcrimeanalysis rcrisp read.abares red reddPrec redlistr regional rivnet rlandfire rnaturalearth roads robust.prioritizr rpaleoclim rpostgis rsat rsi rtrend rworldmap samc sampbias sara4r satellite satres scapesClassification scenfire sdmpredictors secr sgsR shar shoredate sigugr simulariatools sits skytrackr slideview smosr spEDM spacemodR spanner sparrpowR spatialEco spatialising spatialrisk ssebiEF stppSim supercells tReeTraits tabs tanaka tectonicr tenm terrainr tidysdm tidyterra tmap.mapgl tmapverse uavRmp viewscape voluModel vostokR waterquality wdiEF weatherOz wflo wingen

Dependency Network

Dependencies Reverse dependencies Rcpp GLCMTextures MultiscaleDTM ShapePattern SiMRiv SurfRough TOC ceramic diffeR envirem geodata geostatsp hemispheR heterogen hydflood intSDM +484 more reverse deps terra

Version History

updated 1.9-11 ← 1.9-1 diff Mar 26, 2026
new 1.9-1 Mar 10, 2026
updated 1.9-1 ← 1.8-93 diff Mar 7, 2026
updated 1.8-93 ← 1.8-86 diff Jan 11, 2026
updated 1.8-86 ← 1.8-80 diff Nov 27, 2025
updated 1.8-80 ← 1.8-70 diff Nov 4, 2025
updated 1.8-70 ← 1.8-60 diff Sep 26, 2025
updated 1.8-60 ← 1.8-54 diff Jul 20, 2025
updated 1.8-54 ← 1.8-50 diff May 31, 2025
updated 1.8-50 ← 1.8-42 diff May 8, 2025
updated 1.8-42 ← 1.8-29 diff Apr 1, 2025
updated 1.8-29 ← 1.8-21 diff Feb 25, 2025
updated 1.8-21 ← 1.8-15 diff Feb 9, 2025
updated 1.8-15 ← 1.8-10 diff Jan 23, 2025
updated 1.8-10 ← 1.8-5 diff Jan 13, 2025
updated 1.8-5 ← 1.7-83 diff Dec 11, 2024
updated 1.7-83 ← 1.7-78 diff Oct 13, 2024
updated 1.7-78 ← 1.7-71 diff May 21, 2024
updated 1.7-71 ← 1.7-65 diff Jan 30, 2024
updated 1.7-65 ← 1.7-55 diff Dec 14, 2023