Skip to content

literanger

0.2.0Package record

Fast Serializable Random Forests Based on 'ranger'

0packages dependsuggested by 1
64.4Kdownloads / year
87.8%test coverage
11/13flavors OK

Overview

About

An updated implementation of R package 'ranger' by Wright et al, (2017) doi:10.18637/jss.v077.i01 for training and predicting from random forests, particularly suited to high-dimensional data, and for embedding in 'Multiple Imputation by Chained Equations' (MICE) by van Buuren (2007) doi:10.1177/0962280206074463. Ensembles of classification and regression trees are currently supported. Sparse data of class 'dgCMatrix' (R package 'Matrix') can be directly analyzed. Conventional bagged predictions are available alongside an efficient prediction for MICE via the algorithm proposed by Doove et al (2014) doi:10.1016/j.csda.2013.10.025. Trained forests can be written to and read from storage. Survival and probability forests are not supported in the update, nor is data of class 'gwaa.data' (R package 'GenABEL'); use the original 'ranger' package for these analyses.

Changes in 0.2.0

Changed

  • **Breaking** extensive refactor to literanger object in R; any objects serialized with versions < 0.2.0 cannot be deserialized with new release.
  • Training speed improved via inlining and short-circuits; mileage may vary but 10-15% faster is expected.

Added

  • A merge() function to merge trained forests.

From NEWS.md in the release

Install

Health

CRAN checks
2WARNING11OK
Check messages
WARNINGwhether package can be installedr-devel-windows-x86_64, r-release-windows-x86_64

r-devel-windows-x86_64

Found the following significant warnings:
  D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_algobase.h:452:30: warning: 'void* __builtin_memmove(void*, const void*, long long unsigned int)' forming offset 8 is out of the bounds [0, 8] [-Warray-bounds=]
See 'd:/Rcompile/CRANpkg/local/4.7/literanger.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'

r-release-windows-x86_64

Found the following significant warnings:
  D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_algobase.h:452:30: warning: 'void* __builtin_memmove(void*, const void*, long long unsigned int)' forming offset 8 is out of the bounds [0, 8] [-Warray-bounds=]
See 'd:/Rcompile/CRANpkg/local/4.6/literanger.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 14.3.0'

CRAN check page ↗

Slowest check: 3.8 min · r-devel-windows-x86_64
Status changes
  • WARNING11 OK, 2 WARNINGNow
  • WARNING11 OK, 2 NOTE, 1 WARNING2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 419 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsitenot declared in DESCRIPTION
Description cites a JSS article
Help pages
6 (1 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
67%
Documented parameters
98%
Return-value docs
67%
Help pages citing references
50%

Downloads

64.4K
CRAN downloads in the past year
Rank #1,848 · ~176/day · ~5.4K/mo
Daily download trend is not available in this view yet.
3.1K30 days
10.7K90 days
64.4K1 year
Compare downloads with other packages →
Also on376 r2u7 autocran

Repository

PracticesBeta

Repository gitlab.com/stephematician/literanger is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing literanger adds 2 packages (0 with compiled code, 559 KB of source tarballs). Heaviest: cpp11 298 KB, Rcereal 261 KB.

Depends (1)
R >= 3.6.0
Imports (1)
stats
LinkingTo (2)
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.0.1 (2023)
Contributor
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    record
    2025-07-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2024-09-22
  • 0.1.1
    record
    2024-09-22 · diff ↗
  • archivedRemoved from CRAN
    2024-09-19
    issues were not corrected in time
  • 0.1.0
    record
    2024-09-04 · diff ↗ ·
    added 2 exports
    read_literanger, write_literanger
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-07-13
  • 0.0.2
    record
    2023-07-13 · diff ↗
  • archivedRemoved from CRAN
    2023-07-10
    issues were not corrected in time
  • 0.0.1
    record
    2023-06-26
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-06-26
Total releases
5 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Download size
113 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("literanger")
Wade, S., & Wright, M. N. (2025). literanger: Fast Serializable Random Forests Based on 'ranger' (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.literanger

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

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