Skip to content

grf

2.6.1

Generalized Random Forests

32packages depend
149.2Kdownloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Erik SverdrupFirst published 2017-07-0427 releasesCRAN page ↗GitHub ↗

Forest-based statistical estimation and inference. GRF provides non-parametric methods for heterogeneous treatment effects estimation (optionally using right-censored outcomes, multiple treatment arms or outcomes, or instrumental variables), as well as least-squares regression, quantile regression, and survival regression, all with support for missing covariates.

Install

Health

CRAN checks
13OK
Slowest check: 12.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
0.0%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
91%
Return-value docs
100%
References docs
28%

Downloads

149.2K
CRAN downloads in the past year
Rank #1,235 · ~409/day · ~12.4K/mo
Daily download trend is not available in this view yet.
8.1K30 days
27.1K90 days
149.2K1 year
Compare downloads with other packages →
Also on944 r2u17 autocran10.1K conda_forge65 c2d4u

Repository

Repository
1,105Stars
282Forks
68Open issues
0Open PRs
0Releases
2,137Commits
30Contributors
causal-inferencerandom-foresteconometricsmachine-learningstatisticscausal-forest
License GPL-3.0 · 2,137 commits · Last activity 2026-04-30 · +0.2% stars, 30d

Stars over time

2025-08-06 · 1,0322026-08-15 · 1,104

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/grf-labs/grf on 2026-08-16.

Continuous integration (2)
GitHub ActionsAzure Pipelines
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (6)
LinkingTo (2)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (9)
Maintainer (1)
Author, Maintainer · added in 0.10.4
Authors (4)
Author, Maintainer · added in 0.10.4
Contributors (5)
Contributor · added in 0.9.6
Contributor · added in 0.10.3
Contributor · added in 0.10.4
Contributor · added in 0.9.6
Contributor
Listed in earlier versions (1)
no longer listed · 0.9.2 to 0.9.4
Package Timeline

27 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.6.1Latest
    2026-03-04 · current release · diff ↗
  • 2.6.0
    2026-03-03 · diff ↗
  • 2.5.0
    2025-10-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.4.0
    2024-11-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3.2
    2024-02-25 · diff ↗
  • 2.3.1
    2023-10-01 · diff ↗
  • 2.3.0
    2023-05-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2.1
    2022-12-15 · diff ↗
  • 2.2.0
    2022-08-06 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1.0
    2022-03-17 · diff ↗
  • 2.0.2
    2021-07-14 · diff ↗
Show 21 earlier events
  • 2.0.1
    2021-07-06 · diff ↗
  • 2.0.0
    2021-06-22 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.0
    2020-06-04 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.0
    2020-03-12 · diff ↗
  • 1.0.1
    2019-12-06 · diff ↗
  • 1.0.0
    2019-12-02 · diff ↗
  • 0.10.4
    2019-09-03 · diff ↗
  • 0.10.3
    2019-05-27 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.10.2
    2018-11-24 · diff ↗
  • 0.10.1
    2018-09-24 · diff ↗
  • 0.10.0
    2018-05-09 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.6
    2018-04-14 · diff ↗
  • 0.9.5
    2018-01-09 · diff ↗
  • 0.9.4
    2017-11-27 · diff ↗
  • 0.9.3
    2017-07-21 · diff ↗
  • 0.9.2
    2017-07-04
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-04
Total releases
27 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
217 KB / 2 files
Download size
612 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("grf")
Sverdrup, E., Athey, S., Friedberg, R., Hadad, V., Hirshberg, D., Miner, L., Tibshirani, J., Wager, S., & Wright, M. (2026). grf: Generalized Random Forests (Version 2.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.grf

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 grf version 2.6.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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