Skip to content
CRAN requires the check problems on this package to be fixed before 2026-09-04 or it will be archived.

pre

1.0.9

Prediction Rule Ensembles

2packages depend
39.5Kdownloads / year
52.8%test coverage
4/13checks pass

Overview

About
Maintained by Marjolein FokkemaFirst published 2016-12-2420 releasesCRAN page ↗GitHub ↗

Derives prediction rule ensembles (PREs). Largely follows the procedure for deriving PREs as described in Friedman & Popescu (2008; DOI:10.1214/07-AOAS148), with adjustments and improvements described in Fokkema (2020; DOI:10.18637/jss.v092.i12) and Fokkema & Strobl (2020; DOI:10.1037/met0000256). The main function pre() derives prediction rule ensembles consisting of rules and/or linear terms for continuous, binary, count, multinomial, survival and multivariate continuous responses. Function gpe() derives generalized prediction ensembles, consisting of rules, hinge and linear functions of the predictor variables.

Install

Health

CRAN checks
9ERROR4OK
Failing flavors
  • ERROR r-devel-linux-x86_64-debian-clang
  • ERROR r-devel-linux-x86_64-debian-gcc
  • ERROR r-devel-linux-x86_64-fedora-clang
  • ERROR r-devel-linux-x86_64-fedora-gcc
  • ERROR r-devel-windows-x86_64
  • ERROR r-oldrel-windows-x86_64
  • ERROR r-patched-linux-x86_64
  • ERROR r-release-linux-x86_64
  • ERROR r-release-windows-x86_64
Slowest check: 6.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.18
52.8%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • ERROR2026-07-25
    10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE
  • OK2026-06-14
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-05
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,959 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
22%
Documented parameters
98%
Return-value docs
76%
References docs
45%

Downloads

39.5K
CRAN downloads in the past year
Rank #2,306 · ~108/day · ~3.3K/mo
Daily download trend is not available in this view yet.
2.1K30 days
8.5K90 days
39.5K1 year
Compare downloads with other packages →
Also on168 r2u866 conda_forge53 c2d4u

Repository

Repository
58Stars
17Forks
3Open issues
0Open PRs
0Releases
229Commits
5Contributors
229 commits · Last activity 2025-06-06 · 0% stars, 30d

Stars over time

2024-05-22 · 572026-07-07 · 58

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/marjoleinf/pre on 2026-08-16.

Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 0.3.0
Package Timeline

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

  • 1.0.9Latest
    2026-06-09 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.8
    2025-09-06 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.7
    2024-01-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.6
    2023-02-12 · diff ↗
  • 1.0.5
    2022-06-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.4
    2022-03-30 · diff ↗
  • 1.0.3
    2022-03-12 · diff ↗
  • 1.0.2
    2022-02-25 · diff ↗
  • 1.0.1
    2021-07-05 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
Show 17 earlier events
  • 1.0.0
    2020-03-06 · diff ↗
  • 0.7.2
    2019-11-29 · diff ↗
  • unarchivedReturned to CRAN
    2019-11-29
  • archivedRemoved from CRAN
    2019-11-25
    check problems were not corrected in time
  • 0.7.1
    2019-04-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.0
    2019-04-01 · diff ↗
  • 0.6.0
    2018-08-03 · diff ↗
  • 0.5.0
    2018-05-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.4-1
    2018-01-23 · diff ↗
  • 0.4
    2017-08-31 · diff ↗
  • 0.3.0
    2017-08-03 · diff ↗
  • 0.2
    2017-04-26 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1
    2016-12-24
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-12-24
Total releases
20 / 10 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
4.2 KB / 1 file
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pre")
Fokkema, M., & Christoffersen, B. (2026). pre: Prediction Rule Ensembles (Version 1.0.9) [Computer software]. https://doi.org/10.32614/CRAN.package.pre

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

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