Skip to content

crossfit

0.1.3

A Graph-Based Cross-Fitting Engine in R

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

Overview

About
Maintained by Etienne PeyrotFirst published 2026-02-192 releasesCRAN page ↗GitHub ↗

Provides a general cross-fitting engine for semiparametric estimation (e.g., double/debiased machine learning). Supports user-defined target functionals and directed acyclic graphs of nuisance learners with per-node training fold widths, target-specific evaluation windows, and fold-allocation modes ("overlap", "disjoint", "independence"). Returns either numeric estimates (mode = "estimate") or cross-fitted prediction functions (mode = "predict"), with configurable aggregation over panels and repetitions, reuse-aware caching, and failure isolation, making it well-suited for simulation studies and large benchmarks.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.74
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
2
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.1K
CRAN downloads in the past year
Rank #8,713 · ~6/day · ~178/mo
crossfit
Daily download trend is not available in this view yet.
43030 days
1.3K90 days
2.1K1 year
Compare downloads with other packages →
Also on47 r2u10 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (2)
statsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,313 (66%)Rd 1,241 (25%)Vignettes 476 (9%)

Test coverage

Line coverage

Expression

Tests / Examples

Functions

33 8 exported

Complexity

6.2 avg / 48 max

Call network

33 nodes / 37 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

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
Release 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
  • 0.1.3Latest
    2026-03-04 · current release · diff ↗
  • 0.1.1
    2026-02-19
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-19
Total releases
2 / 1 yrs
License
GPL-3 OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet