Skip to content

lime

0.5.4

Local Interpretable Model-Agnostic Explanations

5packages depend
294Kdownloads / year
36.7%test coverage
12/13checks pass

Overview

About
Maintained by Emil HvitfeldtFirst published 2017-09-159 releasesCRAN page ↗GitHub ↗

When building complex models, it is often difficult to explain why the model should be trusted. While global measures such as accuracy are useful, they cannot be used for explaining why a model made a specific prediction. 'lime' (a port of the 'lime' 'Python' package) is a method for explaining the outcome of black box models by fitting a local model around the point in question an perturbations of this point. The approach is described in more detail in the article by Ribeiro et al. (2016) doi:10.48550/arXiv.1602.04938.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 5.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.10
36.7%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 422 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
93%
Return-value docs
93%
References docs
6%

Downloads

294K
CRAN downloads in the past year
Rank #2,096 · ~805/day · ~24.5K/mo
Daily download trend is not available in this view yet.
1.9K30 days
10.7K90 days
294K1 year
Compare downloads with other packages →
Also on534 r2u2 autocran3.9K conda_forge70 c2d4u

Repository

Repository
493Stars
111Forks
42Open issues
4Open PRs
6Releases
234Commits
16Contributors
rmodel-checkingmodelingmodel-evaluationcaret
234 commits · Last activity 2025-12-11 · +0.2% stars, 30d

Stars over time

2025-06-01 · 4862026-07-17 · 493

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/tidymodels/lime on 2026-08-02.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (2)
AirVS Code
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
26 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (14)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
5direct
0indirect

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 0.5.3
Authors (3)
Author, Maintainer · added in 0.5.3
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.4Latest
    2025-12-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.3
    2022-08-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5.2
    2021-02-24 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.1
    2019-11-12 · diff ↗
  • 0.5.0
    2019-06-24 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.1
    2018-11-21 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.4.0
    2018-03-08 · diff ↗
Show 3 earlier events
  • 0.3.1
    2017-11-24 · diff ↗
  • 0.3.0
    2017-09-15
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-09-15
Total releases
9 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Bundled data
98 KB / 3 files
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
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