Skip to content

SPEI

1.8.1

Calculation of the Standardized Precipitation-Evapotranspiration Index

5packages depend
46.9Kdownloads / year
80.8%test coverage
13/13checks pass

Overview

About
Maintained by Santiago BegueríaFirst published 2011-10-189 releasesCRAN page ↗GitHub ↗

A set of functions for computing potential evapotranspiration and several widely used drought indices including the Standardized Precipitation-Evapotranspiration Index (SPEI).

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.44
80.8%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
96%
Return-value docs
80%
References docs
88%

Downloads

46.9K
CRAN downloads in the past year
Rank #2,232 · ~128/day · ~3.9K/mo
Daily download trend is not available in this view yet.
2K30 days
8.5K90 days
46.9K1 year
Compare downloads with other packages →
Also on152 r2u31 autocran11.9K conda_forge94 c2d4u

Repository

Repository
106Stars
40Forks
31Open issues
2Open PRs
4Releases
172Commits
4Contributors
172 commits · Last activity 2025-11-24 · +1% stars, 30d

Stars over time

2025-07-18 · 892026-07-31 · 106

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/sbegueria/spei on 2026-08-23.

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
5direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Listed in earlier versions (2)
no longer listed · 1.0 to 1.2
no longer listed · 1.3 to 1.8.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.8.1Latest
    2023-03-02 · current release · diff ↗
  • 1.8.0
    2023-01-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.7
    2017-06-07 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 10 earlier events
  • 1.6
    2013-11-07 · diff ↗
  • 1.4
    2013-05-09 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.3
    2013-03-08 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.2
    2012-03-21 · diff ↗
  • 1.1
    2012-01-25 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0
    2011-10-18
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-10-18
Total releases
9 / 15 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Bundled data
69 KB / 4 files
Download size
812 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("SPEI")
Beguería, S., & Vicente-Serrano, S. M. (2023). SPEI: Calculation of the Standardized Precipitation-Evapotranspiration Index (Version 1.8.1) [Computer software]. https://doi.org/10.32614/CRAN.package.SPEI

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 SPEI version 1.8.1 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, 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