Skip to content

CRAFT

0.2.0Package record

Conditional Regime Analog Forecasting with Trajectories

0packages depend
600downloads / year
76.1%test coverage
13/13flavors OK

Overview

About

Tools for Conditional Regime Analog Forecasting with Trajectories. The package builds lag and lead trajectory embeddings, detects regimes with singular value decomposition and changepoint analysis, estimates transition probabilities between regimes, samples future-trajectory analogues, and fits smooth empirical forecast distributions. Random-search hyperparameter tuning ranks candidate models using internal backtests.

Changes in 0.1.0
  • Initial CRAN-preparation release.
  • Added trajectory embedding helpers for lag and lead cumulative changes.
  • Added SVD changepoint regime detection and transition-based regime forecasting through craft_fit() and craft_predict().
  • Added smooth empirical forecast distribution fitting.
  • Added tests, manual pages, README, and vignette.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-08-09
Advisories

none known

Documentation

In release 0.1.0

Release 0.2.0 has not been analysed yet.

READMEYes · 135 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsiteYes
Help pages
11includes a package overview page
Examples that run
70%7 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Downloads

600
CRAN downloads in the past year
Rank #22,327 · ~2/day · ~50/mo
Daily download trend is not available in this view yet.
15130 days
60090 days
6001 year
Compare downloads with other packages →
Also on15 r2u6 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing CRAFT adds 2 packages (2 with compiled code, 949 KB of source tarballs). Heaviest: zoo 675 KB, changepoint 274 KB.

Depends (1)
R >= 4.1.0
Imports (6)
changepointgraphicsgrDevicesparallelstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-10-26 · current release · diff ↗
  • 0.1.0
    record
    2026-08-08
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-08
Total releases
2 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
75 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CRAFT")
Vercellino, G. (2026). CRAFT: Conditional Regime Analog Forecasting with Trajectories (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.CRAFT

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 CRAFT version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, 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