Skip to content

FoCo2

0.1.4Package record

Coherent Forecast Combination for Linearly Constrained Multiple Time Series

0packages depend
4.3Kdownloads / year
35.6%test coverage
13/13flavors OK

Overview

About

Methods and tools designed to improve the forecast accuracy for a linearly constrained multiple time series, while fulfilling the linear/aggregation relationships linking the components (Girolimetto and Di Fonzo, 2024 doi:10.48550/arXiv.2412.03429). 'FoCo2' offers multi-task forecast combination and reconciliation approaches leveraging input from multiple forecasting models or experts and ensuring that the resulting forecasts satisfy specified linear constraints. In addition, linear inequality constraints (e.g., non-negativity of the forecasts) can be imposed, if needed.

Changes in 0.1.4
  • Every reconciliation function (..., ...) now returns an object of the new S3 class foreco, defined in FoReco. The objects are built through FoReco's exported new_foreco_class() constructor and therefore integrate seamlessly with FoReco's print(), summary(), plot() and components() methods.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-24
  • ERROR12 OK, 1 ERROR2026-06-23
  • OK13 OK2026-05-10
Show 4 earlier changesHide 4 earlier changes
  • WARNING12 OK, 1 WARNING2026-05-09
  • OK14 OK2026-03-25
  • WARNING13 OK, 1 WARNING2026-03-19
  • ERROR5 OK, 9 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.1.4
READMEYes · 307 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.4Citation fileNoWebsiteYes · pkgdown
Help pages
7includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
80%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
71%

Downloads

4.3K
CRAN downloads in the past year
Rank #7,957 · ~12/day · ~359/mo
Daily download trend is not available in this view yet.
45030 days
1.1K90 days
4.3K1 year
Compare downloads with other packages →
Also on101 r2u1 autocran

Repository

4Stars
1Forks
0Open issues
0Open PRs
3Releases
28Commits
1Commit identities
combinationforecastingreconciliationtime-seriescranr
28 commits · Last activity 2026-07-24 · +33.3% stars, 30d · Default branch at 0.1.4.9000, ahead of CRAN 0.1.4 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
15
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-05-10 · 22026-10-21 · 4
PracticesBeta

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

Checks run against github.com/danigiro/foco2 on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-24

pkgdown site last built 2026-07-21

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing FoCo2 adds 15 packages (9 with compiled code, 6.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, FoReco 831 KB.

Depends (3)
R >= 3.4MatrixFoReco
Imports (5)
statsclimethodsquadprogosqp
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.2 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • 0.1.4Latest
    record
    2026-06-23 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3
    record
    2026-03-13 · diff ↗
  • 0.1.2
    record
    2025-06-14
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-06-14
Total releases
3 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 3.4
Download size
28 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("FoCo2")
Girolimetto, D., & Di Fonzo, T. (2026). FoCo2: Coherent Forecast Combination for Linearly Constrained Multiple Time Series (Version 0.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.FoCo2

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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