Skip to content

tsintermittent

Intermittent Time Series Forecasting

v1.10 · Jul 18, 2022 · GPL (>= 2)

Description

Time series methods for intermittent demand forecasting. Includes Croston's method and its variants (Moving Average, SBA), and the TSB method. Users can obtain optimal parameters on a variety of loss functions, or use fixed ones (Kourenztes (2014) <doi:10.1016/j.ijpe.2014.06.007>). Intermittent time series classification methods and iMAPA that uses multiple temporal aggregation levels are also provided (Petropoulos & Kourenztes (2015) <doi:10.1057/jors.2014.62>).

Downloads

CRAN

537

Last 30 days

7141st

1.5K

Last 90 days

7.9K

Last year

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

r2u CRAN

2

Last 30 days

33

Last 90 days

104

Last year

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

autoCRAN

3

Last 7 days

21

Last 30 days

1

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 15, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 12, 2026
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: S3 methods '$<-.grouped_df', '[.fun_list', '[.grouped_df', '[.rowwise_df', '[<-.grouped_df', '[<-.rowwise_df', '[[<-.grouped_df', 'names<-.grouped_df', 'names<-.rowwise_df', 'add_count.data.frame',
...[truncated]...
l_modify.rowwise_df', 'dplyr_reconstruct.data.frame', 'dplyr_reconstruct.grouped_df', 'dplyr_reconstruct.rowwise_df', 'dplyr_row_slice.data.frame', ' [... truncated]
See 'd:/Rcompile/CRANpkg/local/4.5/tsintermittent.Rcheck/00install.out' for details.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

Rd files

cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
problems found in ‘crost.Rd’, ‘crost.decomp.Rd’, ‘crost.ma.Rd’, ‘data.frc.Rd’
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,354

Files

28

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,804 (76.6%)Docs 550 (23.4%)

API

Exported functions

9

Internal functions

9

Recent export changes

v1.7+2 crost.decomp, data.frc

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

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

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

10

First release

2014-06-23

Latest release

2022-07-18

Avg cadence

48 days

Cold removal rate

Dep drift

2

LOC over versions

v1.0: 1,292 LOCv1.1: 1,549 LOCv1.2: 1,858 LOCv1.3: 1,986 LOCv1.4: 2,004 LOCv1.5: 2,004 LOCv1.7: 2,246 LOCv1.8: 2,314 LOCv1.9: 2,347 LOCv1.10: 2,354 LOC

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

Dependency Network

Dependencies Reverse dependencies MAPA tsintermittent

Version History

11 tracked
new 1.10 Mar 10, 2026
updated 1.10 ← 1.9 diff Jul 17, 2022
updated 1.9 ← 1.8 diff Mar 9, 2016
updated 1.8 ← 1.7 diff Sep 23, 2015
updated 1.7 ← 1.5 diff Sep 16, 2015
updated 1.5 ← 1.4 diff Nov 19, 2014
updated 1.4 ← 1.3 diff Oct 2, 2014
updated 1.3 ← 1.2 diff Aug 3, 2014
updated 1.2 ← 1.1 diff Jul 15, 2014
updated 1.1 ← 1.0 diff Jul 2, 2014
new 1.0 Jun 22, 2014