{
  "_id": "6a4f4daf21b18e15485005d0",
  "Type": "Package",
  "Package": "lime",
  "Title": "Local Interpretable Model-Agnostic Explanations",
  "Version": "0.5.4.9000",
  "Authors@R": "c(\nperson(\"Emil\", \"Hvitfeldt\", , \"emil.hvitfeldt@posit.co\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0679-1945\")),\nperson(\"Thomas Lin\", \"Pedersen\", , \"thomasp85@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-5147-4711\")),\nperson(\"Michaël\", \"Benesty\", , \"michael@benesty.fr\", role = \"aut\")\n)",
  "Maintainer": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
  "Description": "When building complex models, it is often difficult to\nexplain why the model should be trusted. While global measures\nsuch as accuracy are useful, they cannot be used for explaining\nwhy a model made a specific prediction. 'lime' (a port of the\n'lime' 'Python' package) is a method for explaining the outcome\nof black box models by fitting a local model around the point\nin question an perturbations of this point. The approach is\ndescribed in more detail in the article by Ribeiro et al.\n(2016) <doi:10.48550/arXiv.1602.04938>.",
  "License": "MIT + file LICENSE",
  "URL": "https://lime.data-imaginist.com,\nhttps://github.com/tidymodels/lime,\nhttps://lime.data-imaginist.com/",
  "BugReports": "https://github.com/tidymodels/lime/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-12-08",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2025-12-11 17:10:18 UTC",
  "RemoteUrl": "https://github.com/tidymodels/lime",
  "RemoteRef": "HEAD",
  "RemoteSha": "1c9f97478b442d851b907de8042c298f9ac832b0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 07:21:33 UTC",
    "User": "root"
  },
  "Author": "Emil Hvitfeldt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0679-1945>),\nThomas Lin Pedersen [aut] (ORCID:\n<https://orcid.org/0000-0002-5147-4711>),\nMichaël Benesty [aut]",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "lime_0.5.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/93be755316eb91b284a9b8a705161ccc7c0fc8b64ec8eee328e2a6db2c1560fa",
  "_filesize": 1741867,
  "_sha256": "93be755316eb91b284a9b8a705161ccc7c0fc8b64ec8eee328e2a6db2c1560fa",
  "_expires": "2026-10-17T07:28:45.000Z",
  "_created": "2026-07-09T07:21:33.000Z",
  "_published": "2026-07-09T07:28:47.762Z",
  "_jobs": [
    {
      "job": 86062293341,
      "time": 223,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191745972"
    },
    {
      "job": 86062293375,
      "time": 278,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191764128"
    },
    {
      "job": 86062293417,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191743622"
    },
    {
      "job": 86062293396,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191737612"
    },
    {
      "job": 86062293298,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191724280"
    },
    {
      "job": 86062293307,
      "time": 315,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191794374"
    },
    {
      "job": 86062293289,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191725747"
    },
    {
      "job": 86062293255,
      "time": 308,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191778233"
    },
    {
      "job": 86061525470,
      "time": 278,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191668563"
    },
    {
      "job": 86062293256,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8191721845"
    },
    {
      "job": 86062293275,
      "time": 177,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191729450"
    },
    {
      "job": 86062293282,
      "time": 151,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191720061"
    },
    {
      "job": 86062293286,
      "time": 228,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191745128"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087",
  "_status": "success",
  "_upstream": "https://github.com/tidymodels/lime",
  "_commit": {
    "id": "1c9f97478b442d851b907de8042c298f9ac832b0",
    "author": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #204 from tidymodels/RC-0.5.4\n\n",
    "time": 1765473018
  },
  "_maintainer": {
    "name": "Emil Hvitfeldt",
    "email": "emil.hvitfeldt@posit.co",
    "login": "emilhvitfeldt",
    "bluesky": "@emilhvitfeldt.bsky.social",
    "description": "All things @tidymodels",
    "uuid": 14034784,
    "orcid": "0000-0002-0679-1945"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "gower",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "h2o",
      "role": "Suggests"
    },
    {
      "package": "htmlwidgets",
      "role": "Suggests"
    },
    {
      "package": "keras",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "mlr",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sessioninfo",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinythemes",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "text2vec",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    }
  ],
  "_owner": "tidymodels",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-50",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.5.4",
      "date": "2025-12-10"
    }
  ],
  "_topics": [
    "caret",
    "model-checking",
    "model-evaluation",
    "modeling",
    "cpp"
  ],
  "_stars": 492,
  "_contributors": [
    {
      "user": "thomasp85",
      "count": 166,
      "uuid": 1775316
    },
    {
      "user": "emilhvitfeldt",
      "count": 46,
      "uuid": 14034784
    },
    {
      "user": "pommedeterresautee",
      "count": 7,
      "uuid": 1029874
    },
    {
      "user": "jeroen",
      "count": 2,
      "uuid": 216319
    },
    {
      "user": "nielsenmarkus11",
      "count": 2,
      "uuid": 9438047
    },
    {
      "user": "chrismuir",
      "count": 1,
      "uuid": 13386824
    },
    {
      "user": "christophm",
      "count": 1,
      "uuid": 1632100
    },
    {
      "user": "jonmcalder",
      "count": 1,
      "uuid": 5055818
    },
    {
      "user": "ledgerw",
      "count": 1,
      "uuid": 2328443
    },
    {
      "user": "batpigandme",
      "count": 1,
      "uuid": 831732
    },
    {
      "user": "martinju",
      "count": 1,
      "uuid": 16880658
    },
    {
      "user": "mdancho84",
      "count": 1,
      "uuid": 13734662
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    },
    {
      "user": "pkopper",
      "count": 1,
      "uuid": 43535712
    },
    {
      "user": "samleegithub",
      "count": 1,
      "uuid": 27397725
    },
    {
      "user": "millerjoey",
      "count": 1,
      "uuid": 15691489
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels",
    "followers": 555
  },
  "_downloads": {
    "count": 3013,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lime"
  },
  "_mentions": 8,
  "_devurl": "https://github.com/tidymodels/lime",
  "_pkgdown": "https://lime.data-imaginist.com",
  "_searchresults": 1056,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lime.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tidymodels/lime",
  "_realowner": "tidymodels",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2017-09-15"
    },
    {
      "version": "0.3.1",
      "date": "2017-11-24"
    },
    {
      "version": "0.4.0",
      "date": "2018-03-08"
    },
    {
      "version": "0.4.1",
      "date": "2018-11-21"
    },
    {
      "version": "0.5.0",
      "date": "2019-06-24"
    },
    {
      "version": "0.5.1",
      "date": "2019-11-12"
    },
    {
      "version": "0.5.2",
      "date": "2021-02-24"
    },
    {
      "version": "0.5.3",
      "date": "2022-08-19"
    },
    {
      "version": "0.5.4",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    ".load_image_example",
    ".load_text_example",
    "as_classifier",
    "as_regressor",
    "default_tokenize",
    "explain",
    "interactive_text_explanations",
    "lime",
    "model_type",
    "plot_explanations",
    "plot_features",
    "plot_image_explanation",
    "plot_superpixels",
    "plot_text_explanations",
    "predict_model",
    "render_text_explanations",
    "slic",
    "text_explanations_output"
  ],
  "_datasets": [
    {
      "name": "stop_words_sentences",
      "title": "Stop words list",
      "object": "stop_words_sentences",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "test_sentences",
      "title": "Sentence corpus - test part",
      "object": "test_sentences",
      "class": [
        "data.frame"
      ],
      "fields": [
        "class.text",
        "text"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    },
    {
      "name": "train_sentences",
      "title": "Sentence corpus - train part",
      "object": "train_sentences",
      "class": [
        "data.frame"
      ],
      "fields": [
        "class.text",
        "text"
      ],
      "rows": 2517,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_classifier",
      "title": "Indicate model type to lime",
      "topics": [
        "as_classifier",
        "as_regressor"
      ]
    },
    {
      "page": "default_tokenize",
      "title": "Default function to tokenize",
      "topics": [
        "default_tokenize"
      ]
    },
    {
      "page": "explain",
      "title": "Explain model predictions",
      "topics": [
        "explain",
        "explain.character",
        "explain.data.frame",
        "explain.imagefile"
      ]
    },
    {
      "page": "interactive_text_explanations",
      "title": "Interactive explanations",
      "topics": [
        "interactive_text_explanations",
        "render_text_explanations",
        "text_explanations_output"
      ]
    },
    {
      "page": "lime",
      "title": "Create a model explanation function based on training data",
      "topics": [
        "lime",
        "lime.character",
        "lime.data.frame",
        "lime.imagefile"
      ]
    },
    {
      "page": "model_support",
      "title": "Methods for extending limes model support",
      "topics": [
        "model_support",
        "model_type",
        "predict_model"
      ]
    },
    {
      "page": "plot_explanations",
      "title": "Plot a condensed overview of all explanations",
      "concept": [
        "explanation plots"
      ],
      "topics": [
        "plot_explanations"
      ]
    },
    {
      "page": "plot_features",
      "title": "Plot the features in an explanation",
      "concept": [
        "explanation plots"
      ],
      "topics": [
        "plot_features"
      ]
    },
    {
      "page": "plot_image_explanation",
      "title": "Display image explanations as superpixel areas",
      "topics": [
        "plot_image_explanation"
      ]
    },
    {
      "page": "plot_superpixels",
      "title": "Test super pixel segmentation",
      "topics": [
        "plot_superpixels"
      ]
    },
    {
      "page": "text_explanations",
      "title": "Plot text explanations",
      "concept": [
        "explanation plots"
      ],
      "topics": [
        "plot_text_explanations"
      ]
    },
    {
      "page": "stop_words_sentences",
      "title": "Stop words list",
      "topics": [
        "stop_words_sentences"
      ]
    },
    {
      "page": "test_sentences",
      "title": "Sentence corpus - test part",
      "topics": [
        "test_sentences"
      ]
    },
    {
      "page": "train_sentences",
      "title": "Sentence corpus - train part",
      "topics": [
        "train_sentences"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tidymodels/lime/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tidymodels/lime/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "cli",
    "codetools",
    "cpp11",
    "farver",
    "foreach",
    "ggplot2",
    "glmnet",
    "glue",
    "gower",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "shape",
    "stringi",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Understanding_lime.Rmd",
      "filename": "Understanding_lime.html",
      "title": "Understanding lime",
      "author": "Thomas Lin Pedersen & Michaël Benesty",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How lime explains stuff",
        "How to permute an observation",
        "Calculating similarities with permutations",
        "Selecting the features to use",
        "Fitting a model to the permuted and feature-reduced data",
        "An example - Tabular Data",
        "An example - text data",
        "Interactive text model explanations",
        "Session Info"
      ],
      "created": "2017-09-11 10:23:09",
      "modified": "2025-12-09 23:18:38",
      "commits": 15
    }
  ],
  "_score": 11.927021912461479,
  "_indexed": true,
  "_nocasepkg": "lime",
  "_universes": [
    "tidymodels",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:25:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/5237f96f6456b77191cb7e138df404849e731215b6553671f9463900dcc4d7fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:25:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/72a30cf5b767f7055020aaf246d04f455d55b81e64039532985b3dc0e4c1c926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/c8bf3962e1b4cc874deec823521db100d253f97403fc31d44d9ea4e20accdda4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/480dd5c9c582e78fe0809329ee38294c78858014bbb28d6ac19d92a152870acd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:03.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/0c6f7453a21fc0837920f8c6baa580db9a1075294beee8923a76d33bbec94d7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:26:26.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/f2bc23701196f01ba22545bb90fe259ad77428e5dddc1f961dc9de792d785780",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:08.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/300c5a62998c9ac670817bf29bdbae64e4e0c5d587c89c1839a39532da144815",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:25:31.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/e612a5a8228ac5c927333423439e41276ecd7904acaf1334a75c01de6dada6e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:33.000Z",
      "arch": "emscripten",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/0a9a4e62a359efa09ea2c066c8c44fd7f36f6b5a90e34714e308897673c05428",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:23:23.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/3debb30e2fa77a217305455240ef735de2ec142d530df6da839a1d8d018eaca3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:23:16.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/1578813c48e2c90a6ad35e154fbc9351070a341cac86fd9002f20a8f66190eae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-07-09T07:24:07.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "https://r2.ropensci.org/716033b700166cc223725ef00358030bd7da9dd855472db02013b7e6241529e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29001046087"
    }
  ]
}