Skip to content

projpred

2.11.0Package record

Projection Predictive Feature Selection

1packages dependsuggested by 3
65.4Kdownloads / year
73.5%test coverage
13/13flavors OK

Overview

About

Performs projection predictive feature selection for generalized linear models (Piironen, Paasiniemi, and Vehtari, 2020, doi:10.1214/20-EJS1711) with or without multilevel or additive terms (Catalina, Bürkner, and Vehtari, 2022, https://proceedings.mlr.press/v151/catalina22a.html), for some ordinal and nominal regression models (Weber, Glass, and Vehtari, 2025, doi:10.1007/s00180-024-01506-0), and for many other regression models (using the latent projection by Catalina, Bürkner, and Vehtari, 2021, doi:10.48550/arXiv.2109.04702, which can also be applied to most of the former models). The package is compatible with the 'rstanarm' and 'brms' packages, but other reference models can also be used. See the vignettes and the documentation for more information and examples.

Changes in 2.11.0

Major changes

Minor changes

  • Added proj_epred(), which is essentially a wrapper around proj_linpred() with transform = TRUE. (GitHub: #559, #560)

Bug fixes and maintenance

  • Fixed bug in cv_varsel() with cv_method = "kfold": Submodels were incorrectly scored with the full data from the reference model family instead of the correct fold's one, which matters for the latent projection. (GitHub: #567, #568)
  • Tests: Adapt to version 0.9.15 of package mclogit (GitHub: #552)
  • Docs: Fix links to summary() generic (GitHub: #553)
  • Tests: Adapt tests to testthat v3.3.0 (GitHub: #554)
  • Use relative fontsize for model size numbers (GitHub: #555,#556)
  • Remove seemingly outdated lme4 note (GitHub: #558)
  • Add AI contribution policy (GitHub: #561)
  • Minor maintenance updates (GitHub: #562)
Show all changes in 2.11.0Hide the rest of the changes in 2.11.0
  • Tests: Resolve CI failures (GitHub: #569)
  • Docs:Inherit navbar from template (GitHub: #570)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • NOTE12 OK, 1 NOTE2026-10-01
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-04
Show 5 earlier changesHide 5 earlier changes
  • NOTE12 OK, 1 NOTE2026-07-03
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.11.0
READMEYes · 310 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.11.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
38 (3 internal)includes a package overview page
Examples that run
89%17 run in a plain check (15 of them under a condition) · 2 hold no code
Exported functions with examples
64%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
5%

Downloads

65.4K
CRAN downloads in the past year
Rank #1,792 · ~179/day · ~5.5K/mo
Daily download trend is not available in this view yet.
4.5K30 days
11.3K90 days
65.4K1 year
Compare downloads with other packages →
Also on1.7K r2u6 autocran9.1K conda_forge85 c2d4u

Repository

114Stars
31Forks
45Open issues
1Open PRs
17Releases
4,422Commits
21Commit identities
rstanarmstatisticsbayesianvariable-selectionstanbayesian-inferencer-packagebayes
4,422 commits · Last activity 2026-10-01 · 0% stars, 30d · Default branch at 2.11.0.9000, ahead of CRAN 2.11.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
96%
Median days to close, 50 most recently updated closed issues
27
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-05-02 · 1112026-07-07 · 114
PracticesBeta

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

Checks run against github.com/stan-dev/projpred on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Contributing guideFunding

Funding links: GitHub Sponsors, mc-stan.org

The repository owner accepts GitHub Sponsors

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-01 · The repository has a site deploy workflow

pkgdown site last built 2026-09-30

CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
39 external dependencies (excludes base and recommended)

Installing projpred adds 55 packages (31 with compiled code, 43 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, lme4 4.1 MB.

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

Datasets

People & History

People (15)
Maintainer since 2.9.0 (2025), Author · added in 2.9.0
Author · added in 2.0.0
Author · added in 2.1.0
Contributor · added in 2.1.0
Contributor · added in 1.1.0
Contributor · added in 1.1.4
Contributor
Contributor · added in 2.4.0
Contributor · added in 2.2.2
Contributor · added in 2.2.1
Contributor · added in 2.5.0
Copyright holder · added in 2.4.0
see file 'LICENSE' for details

Previously maintained by Frank Weber (2.1.0 to 2.8.0) and Alejandro Catalina (2.0.0 to 2.0.2).

Releases (27)

Pick two releases to compare their code metrics.

  • 2.11.0Latest
    record
    2026-09-30 · current release · diff ↗ ·
    added 1 export
    proj_epred
  • R
    R 4.6.0 released · 2026-04-24
  • 2.10.0
    record
    2025-12-06 · diff ↗
  • 2.9.1
    record
    2025-10-28 · diff ↗
  • 2.9.0
    record
    2025-07-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.8.0
    record
    2023-12-15 · diff ↗ ·
    added 1 export
    performances
  • 2.7.0
    record
    2023-10-01 · diff ↗ ·
    added 3 exports
    force_search_terms, run_cvfun, y_wobs_offs
  • unarchivedReturned to CRAN
    2023-06-01
  • 2.6.0
    record
    2023-06-01 · diff ↗ ·
    added 4 exports
    cv_folds, cv_proportions, predictor_terms, ranking
  • archivedRemoved from CRAN
    2023-05-31
    issues were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 2.5.0
    record
    2023-04-05 · diff ↗ ·
    removed 1 export
    %>%
  • 2.4.0
    record
    2023-02-12 · diff ↗ ·
    added 2 exports
    augdat_ilink_binom, augdat_link_binom
  • 2.3.0
    record
    2023-01-10 · diff ↗
Show 25 earlier eventsHide 25 earlier events
  • 2.2.2
    record
    2022-11-09 · diff ↗
  • 2.2.1
    record
    2022-09-20 · diff ↗
  • 2.2.0
    record
    2022-08-19 · diff ↗ ·
    added 1 export
    cl_agg
  • 2.1.2
    record
    2022-05-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1.1
    record
    2022-04-03 · diff ↗
  • 2.1.0
    record
    2022-04-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.2
    record
    2020-10-28 · diff ↗
  • 2.0.0
    record
    2020-10-26 · diff ↗ ·
    removed 3 exports
    cvind, varsel_plot, varsel_stats
    added 7 exports
    %>%, Student_t, break_up_matrix_term, cv_ids, do_call, extend_family, solution_terms
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.6
    record
    2020-04-01 · diff ↗
  • unarchivedReturned to CRAN
    2020-01-30
  • 1.1.5
    record
    2020-01-30 · diff ↗
  • archivedRemoved from CRAN
    2020-01-16
    check issues were not corrected in time 'Additional issues'
  • 1.1.4
    record
    2019-10-03 · diff ↗
  • 1.1.2
    record
    2019-06-01 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    record
    2019-03-12 · diff ↗
  • 1.1.0
    record
    2018-10-24 · diff ↗
  • 1.0.0
    record
    2018-09-18 · diff ↗ ·
    added 2 exports
    cvfolds, get_refmodel
  • R
    R 3.5.0 released · 2018-04-23
  • 0.8.0
    record
    2018-04-16 · diff ↗ ·
    added 1 export
    suggest_size
  • 0.7.0
    record
    2018-02-19
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-02-19
Total releases
27 / 8 yrs
License
GPL-3 | file LICENSE OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 3.6.0
Bundled data
40 KB / 3 files
Download size
503 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("projpred")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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

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