Skip to content
This package was removed from CRAN on 2026-07-08. Its history is shown below.
Reason: issues were not corrected despite reminder
Details below reflect version 0.4.6, its last release before removal.

Variable Importance Plots

0packages dependsuggested by 8
169.7Kdownloads / year
38.8%test coverage
–flavors OK

Overview

About

A general framework for constructing variable importance plots from various types of machine learning models in R. Aside from some standard model- specific variable importance measures, this package also provides model- agnostic approaches that can be applied to any supervised learning algorithm. These include 1) an efficient permutation-based variable importance measure, 2) variable importance based on Shapley values (Strumbelj and Kononenko, 2014) doi:10.1007/s10115-013-0679-x, and 3) the variance-based approach described in Greenwell et al. (2018) doi:10.48550/arXiv.1805.04755. A variance-based method for quantifying the relative strength of interaction effects is also included (see the previous reference for details).

Changes in 0.4.6

Fixed

  • Fixed CRAN check failures on r-devel (Linux/Fedora and macOS ARM64) in test_vi_firm.R. The test called ranger() without the ranger:: namespace prefix — requireNamespace() loads a namespace but does not attach it, so unqualified function calls fail. Changed to ranger::ranger().
  • Fixed test_vi_firm.R to pass train = titanic explicitly to all vi_firm() / vi() calls. The auto-extraction fallback in get_training_data.default is not implemented for ranger models.
  • Narrowed two expect_equal() assertions in test_vi_firm.R to compare only $Importance values. The prob = TRUE shortcut and a custom pfun wrapper produce the same importance scores but different raw effect representations, so comparing full objects (including the effects attribute) was overly strict.

From NEWS.md in the release

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Status changes
  • ERROR13 OK, 1 ERROR2026-03-27
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.6
READMEYes · 387 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 0.4.6Citation fileYes · cites a publicationWebsiteYes
Cites an R Journal article
Help pages
12 (2 internal)
Examples that run
50%4 run in a plain check · 4 never run
Exported functions with examples
100%
Documented parameters
90%
Return-value docs
75%
Help pages citing references
25%

Downloads

169.7K
CRAN downloads in the past year
Rank #25,731 · ~465/day · ~14.1K/mo
Daily download trend is not available in this view yet.
030 days
090 days
169.7K1 year
Compare downloads with other packages →
Also on623 r2u3 autocran3.5K conda_forge111 c2d4u

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (6)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
–indirect (not tracked)
Suggested by 8
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer

Maintainer since 0.1.0 (2018)

Listed in earlier versions (1)
no longer listed · 0.1.1 to 0.3.2
Releases (14)

Pick two releases to compare their code metrics.

  • archivedRemoved from CRAN
    2026-07-08
    issues were not corrected despite reminder
  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.6
    record
    2026-04-23 · diff ↗
  • unarchivedReturned to CRAN
    2025-12-12
  • 0.4.5
    record
    2025-12-12 · diff ↗
  • archivedRemoved from CRAN
    2025-12-11
    issues were not corrected in multiple re-submissions
  • 0.4.3
    record
    2025-12-10 · diff ↗
  • 0.4.2
    record
    2025-12-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-08-21
  • 0.4.1
    record
    2023-08-21 · diff ↗
  • archivedRemoved from CRAN
    2023-08-14
    issues were not corrected despite repeated reminders
  • 0.4.0
    record
    2023-07-19 · diff ↗ ·
    removed 17 exports
    %>%, %T>%, add_sparklines, grid.arrange, metric_accuracy, metric_auc, metric_error, metric_logLoss, metric_mae, metric_mauc, metric_mse, metric_rmse, metric_rsquared, metric_sse, vi_ice, vi_pdp, vint
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
Show 12 earlier eventsHide 12 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.2
    record
    2020-12-17 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.2
    record
    2020-04-06 · diff ↗
  • 0.2.1
    record
    2020-01-20 · diff ↗
  • 0.2.0
    record
    2020-01-19 · diff ↗ ·
    added 13 exports
    gen_friedman, metric_accuracy, metric_auc, metric_error, metric_logLoss, metric_mae, metric_mauc, metric_mse, metric_rmse, metric_rsquared, metric_sse, vi_firm, vi_shap
  • 0.1.3
    record
    2019-07-03 · diff ↗ ·
    added 2 exports
    add_sparklines, list_metrics
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.2
    record
    2018-10-01 · diff ↗ ·
    added 2 exports
    %>%, %T>%
  • 0.1.1
    record
    2018-09-27 · diff ↗ ·
    added 1 export
    vi_permute
  • 0.1.0
    record
    2018-06-15
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-06-15
Total releases
14 / 8 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
16 KB / 2 files
Download size
2.3 MB for 0.4.5

Cite

Cite this package

Run in R for the authors' entry:

citation("vip")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/rj-2020-013.

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

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