Skip to content

flap

0.2.0

Forecast Linear Augmented Projection

0packages depend
2.5Kdownloads / year
test coverage
0/13checks pass

Overview

About
Maintained by Yangzhuoran Fin YangFirst published 2024-02-282 releasesCRAN page ↗GitHub ↗

The Forecast Linear Augmented Projection (flap) method reduces forecast variance by adjusting the forecasts of multivariate time series to be consistent with the forecasts of linear combinations (components) of the series by projecting all forecasts onto the space where the linear constraints are satisfied. The forecast variance can be reduced monotonically by including more components. For a given number of components, the flap method achieves maximum forecast variance reduction among linear projections.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 46 s · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 101 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
86%
Return-value docs
100%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #15,739 · ~7/day · ~212/mo
Daily download trend is not available in this view yet.
21730 days
71990 days
2.5K1 year
Compare downloads with other packages →
Also on98 r2u9 autocran

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
2Releases
33Commits
1Contributors
License GPL-3.0 · 33 commits · Last activity 2024-06-20 · 0% stars, 30d

Stars over time

2025-07-02 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/finyang/flap on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
corpcorutils
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 150 (69%)Rd 66 (31%)
Code characteristics
Object systems
S32
Cyclomatic complexity
1.0 median / 3 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

9 1 exported

Complexity

1.3 avg / 3 max

Call network

9 nodes / 4 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 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
  • 0.2.0Latest
    2024-06-19 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    2024-02-28
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-28
Total releases
2 / 2 yrs
License
GPL (>= 3) OSI
Download size
4.4 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →