Skip to content

CSIndicators

Climate Services' Indicators Based on Sub-Seasonal to Decadal Predictions

v1.2.0 · Mar 11, 2026 · GPL-3

Description

Set of generalised tools for the flexible computation of climate related indicators defined by the user. Each method represents a specific mathematical approach which is combined with the possibility to select an arbitrary time period to define the indicator. This enables a wide range of possibilities to tailor the most suitable indicator for each particular climate service application (agriculture, food security, energy, water management, health...). This package is intended for sub-seasonal, seasonal and decadal climate predictions, but its methods are also applicable to other time-scales, provided the dimensional structure of the input is maintained. Additionally, the outputs of the functions in this package are compatible with 'CSTools'. This package is described in Pérez-Zanón et al. (2023) <doi:10.1016/j.cliser.2023.100393> and was developed in the context of the H2020 projects MED-GOLD (776467) and S2S4E (776787) projects, as well as the Horizon Europe project MEDEWSA (101121192) and the national project BOREAS (PID2022-140673OA-I00). See Lledó et al. (2019) <doi:10.1016/j.renene.2019.04.135> and Chou et al., 2023 <doi:10.1016/j.cliser.2023.100345> for details.

Downloads

CRAN

346

Last 30 days

12270th

771

Last 90 days

2.4K

Last year

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

r2u CRAN

1

Last 30 days

35

Last 90 days

143

Last year

Trend: -91.7% (30d vs prior 30d)

autoCRAN

3

Last 7 days

20

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

12,942

Files

108

Compiled share

0%

Has compiled src

No

Language breakdown

R 7,649 (59.1%)Docs 4,108 (31.7%)Vignettes 1,185 (9.2%)

API

Exported functions

45

Internal functions

27

Recent export changes

v1.2.0+8 CST_DayLength, CST_HeatIndex, CST_MaxSpellTimeExceedingThreshold +5 more
v1.1.3+2 CST_RNoughtIndices, RNoughtIndices

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

9.1%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2021-05-07

Latest release

2026-03-11

Avg cadence

176 days

Cold removal rate

Dep drift

11

LOC over versions

v0.0.1: 4,704 LOCv0.0.2: 5,108 LOCv1.0.0: 5,784 LOCv1.0.1: 5,822 LOCv1.1.0: 9,453 LOCv1.1.1: 9,460 LOCv1.1.2: 9,493 LOCv1.1.3: 10,213 LOCv1.2.0: 12,942 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies multiApply ClimProjDiags CSTools SPEI lmom lmomco zoo s2dv lubridate geosphere CSIndicators

Version History

10 tracked
updated 1.2.0 ← 1.1.3 diff Mar 11, 2026
new 1.1.3 Mar 10, 2026
updated 1.1.3 ← 1.1.2 diff Nov 23, 2025
updated 1.1.2 ← 1.1.1 diff Mar 30, 2025
updated 1.1.1 ← 1.1.0 diff Jan 23, 2024
updated 1.1.0 ← 1.0.1 diff Nov 19, 2023
updated 1.0.1 ← 1.0.0 diff May 17, 2023
updated 1.0.0 ← 0.0.2 diff Apr 4, 2023
updated 0.0.2 ← 0.0.1 diff Oct 21, 2022
new 0.0.1 May 6, 2021