{
  "_id": "6a27c16b24555f66ed53d6be",
  "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-06-09 07:17:25 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]",
  "MD5sum": "0c4ee7137e6a0a0419682d18ff576811",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "lime_0.5.4.9000.tar.gz",
  "_fileid": "8b0fefb870b525259f86786044101ee1d08c4b007d0cb934941b468ca62b4494",
  "_filesize": 1739235,
  "_sha256": "8b0fefb870b525259f86786044101ee1d08c4b007d0cb934941b468ca62b4494",
  "_created": "2026-06-09T07:17:25.000Z",
  "_published": "2026-06-09T07:31:55.756Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80268777417,
      "time": 213,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501019219"
    },
    {
      "job": 80268777430,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501024319"
    },
    {
      "job": 80268777444,
      "time": 216,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501019748"
    },
    {
      "job": 80268777470,
      "time": 200,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501013717"
    },
    {
      "job": 80268777422,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501171233"
    },
    {
      "job": 80268777451,
      "time": 464,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501224353"
    },
    {
      "job": 80268777540,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501188617"
    },
    {
      "job": 80268777436,
      "time": 480,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501220231"
    },
    {
      "job": 80268016124,
      "time": 300,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500947547"
    },
    {
      "job": 80268777431,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500998946"
    },
    {
      "job": 80268777416,
      "time": 184,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501008766"
    },
    {
      "job": 80268777423,
      "time": 185,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501009142"
    },
    {
      "job": 80268777413,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501008371"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 5266,
    "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": 962,
  "_rbuild": "4.6.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "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": 12.129014789398193,
  "_indexed": true,
  "_nocasepkg": "lime",
  "_universes": [
    "tidymodels",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:20:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "0ab5b05908ae3807c9010236233a98230f0117558405a004fdff7042356992b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:20:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "52b0c8fc00b5b00bdb02e2e7ebb9c21e588ecb93d24d077ca440caf3906f69e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:20:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "ce2dc075375491465e787d24e5f763b156439a77173656a8e54e5d3860f55d07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:20:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "a21376e799b9d04228dfdb3388b3cb80f5c9cf4059ab0bfbca52009c4bc706ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:27:57.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "73e68f5de806f78353217b867b5098660409d3847645109da81d1b4ed0eb1317",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:29:29.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "17735919e579ae11c89c6ebe666e68364ad4d46ee2798e4bfa0003f472062002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:28:35.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "78d9243f2c0837647ecdf16476a953002d75f1bac9db38c373f94ae9d94c240e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:27:02.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "f6ca159088909829513e78c78321fa7ba45860a29e4880263a1890a217785ed9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:20:25.000Z",
      "arch": "emscripten",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "7e893730c8054b76d4726299dd4ffe6c54799057c2bded4bd3885008e0bc8a53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:19:27.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "e5ec606661dccc7b34e87c8adae12634a04bf035fa77d13f9647d3836decb41e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:19:16.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "93c8279a5a9884bd063d508c73d105ce4adecb0a34cb810118f18509d6e40850",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-06-09T07:19:10.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "a6844cf2a302e6ec5fdea1e4d14f3ce3926124d96d31d0cfefae3249ba8479ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27190093059"
    }
  ]
}