Skip to content

ranger

0.18.0

A Fast Implementation of Random Forests

263packages depend
1Mdownloads / year
83.9%test coverage
13/13checks pass

Overview

About
Maintained by Marvin N. WrightFirst published 2015-07-2822 releasesCRAN page ↗GitHub ↗

A fast implementation of Random Forests, particularly suited for high dimensional data. Ensembles of classification, regression, survival and probability prediction trees are supported. Data from genome-wide association studies can be analyzed efficiently. In addition to data frames, datasets of class 'gwaa.data' (R package 'GenABEL') and 'dgCMatrix' (R package 'Matrix') can be directly analyzed.

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.27
83.9%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-19
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-17
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
40%

Downloads

1M
CRAN downloads in the past year
Rank #451 · ~2.8K/day · ~84.7K/mo
Daily download trend is not available in this view yet.
53.1K30 days
188.7K90 days
1M1 year
Compare downloads with other packages →
Also on19.2K r2u37 autocran21.7K conda_forge336 c2d4u

Repository

Repository
814Stars
204Forks
85Open issues
21Open PRs
7Releases
1,580Commits
37Contributors
1,580 commits · Last activity 2026-02-01 · +0.4% stars, 30d

Stars over time

2025-07-17 · 7882026-07-09 · 813

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/imbs-hl/ranger on 2026-07-19.

Continuous integration (1)
GitHub Actions
Automation and maintenance (1)
Dependabot
Governance and community (1)
Funding
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.1
Imports (2)
RcppMatrix
LinkingTo (2)
Suggests (2)
survivaltestthat
Enhances (0)
none

Code & Tests

Code Composition
C++ 9,746 (46%)R 7,506 (36%)C 2,647 (13%)Rd 1,093 (5%)
Code characteristics
Object systems
S315
Cyclomatic complexity
3.0 median / 256 max
Test cases
409 / 1.27 per code line

Test coverage

Line coverage

84%

Expression

83.8%

Tests / Examples

83.9% / 38% ex

Functions

312 11 exported

Complexity

12.3 avg / 256 max

Call network

312 nodes / 201 edges

Loading call graph…

Lowest coverage

312 functions
FunctionCycloCoverage
as.data.frame.ranger.prediction40%
convert.pre.xy40%
predictions.ranger80%
print.deforest.ranger100%
save.sample10%
.onAttach515%

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor · added in 0.9.0
Contributor · added in 0.9.0
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.18.0Latest
    2026-01-16 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.17.0
    2024-11-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.16.0
    2023-11-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.15.1
    2023-04-03 · diff ↗
  • 0.14.1
    2022-06-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.13.1
    2021-07-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.12.1
    2020-01-10 · diff ↗
  • 0.12.0
    2020-01-09 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 18 earlier events
  • 0.11.2
    2019-03-07 · diff ↗
  • 0.11.1
    2019-01-24 · diff ↗
  • 0.11.0
    2019-01-21 · diff ↗
  • 0.10.1
    2018-06-04 · diff ↗
  • 0.10.0
    2018-05-29 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.0
    2018-01-09 · diff ↗
  • 0.8.0
    2017-06-20 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.7.0
    2017-03-31 · diff ↗
  • 0.6.0
    2016-10-07 · diff ↗
  • 0.5.0
    2016-06-24 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.4.0
    2016-04-07 · diff ↗
  • 0.3.0
    2015-11-10 · diff ↗
  • 0.2.7
    2015-07-29 · diff ↗
  • 0.2.6
    2015-07-28
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-28
Total releases
22 / 11 yrs
License
GPL-3 OSI
Minimum R
≥ 3.1
Download size
175 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →