{
  "_id": "6a104a01acfb0bcc41c9f9ab",
  "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-05-10 08:25:57 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": "1811172d350ccb793ac51eefe1fb03d9",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "lime_0.5.4.9000.tar.gz",
  "_fileid": "7877b19ce162351684db8827be7103252c24b1614dd3f82dc69e9df326306b9f",
  "_filesize": 1743257,
  "_sha256": "7877b19ce162351684db8827be7103252c24b1614dd3f82dc69e9df326306b9f",
  "_created": "2026-05-10T08:25:57.000Z",
  "_published": "2026-05-22T12:20:17.466Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77377959881,
      "time": 209,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902311701"
    },
    {
      "job": 77377959684,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902313665"
    },
    {
      "job": 77377960174,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902310502"
    },
    {
      "job": 77377960182,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902311755"
    },
    {
      "job": 77377960175,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902402533"
    },
    {
      "job": 77377960169,
      "time": 286,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902415945"
    },
    {
      "job": 77377960052,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902383492"
    },
    {
      "job": 77377959922,
      "time": 365,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902429231"
    },
    {
      "job": 77377959910,
      "time": 262,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902291150"
    },
    {
      "job": 77377959440,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160314877"
    },
    {
      "job": 77377959872,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902309324"
    },
    {
      "job": 77377959868,
      "time": 178,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902308983"
    },
    {
      "job": 77377960002,
      "time": 174,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902308642"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595",
  "_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",
    "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": 4315,
    "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": 860,
  "_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": 11.993838113885126,
  "_indexed": true,
  "_nocasepkg": "lime",
  "_universes": [
    "tidymodels",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:28:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "5dc6e94d1b19ce0c01756fe47a7100d851ef415c8169f9b876957644480a06a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:29:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "dee5693751dab3f0850e22db4d1927d391cfcd334df4f227c4202aba269b50e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:28:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "6e3ca70a4217e24217bff830cafca995f2dd918b15fc5e50c6b30322448e284a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:28:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "d4a3d9474f31f494a657e98a304c2ee602a15fa0abaaa263dc97c54b6efd95b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:44:00.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "adda3f01f8f8e559bc5c902a4754119531714ef3b6a41e4346ed4d48f47164ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:44:53.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "8de93a254308d2ae20377926347374d7ee1ce853a16d782bda2a1d12335b6217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:40:51.000Z",
      "arch": "aarch64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "9c9e3a3ae67c8dbc7b506e936b9d41c19345595766317a01b58b6a8958259639",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:46:10.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "5a4ba8158a992af6512d4f008ac31a9a3cfadb855d43c3d65e06ef6b3a815320",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:27:43.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "d56bbf1b261010054d67b49e5aedd9c008f8d46be4e2ce780590455aa45e39b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:27:44.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "dbbdc137daccf4b423f38a6ec4382aaa2b7dcadc356b48f08a6c0cbc2954f29d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.4.9000",
      "date": "2026-05-10T08:27:34.000Z",
      "arch": "x86_64",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "5f0f0f37bbe5b8c4e3498bf87592ef003ad5a84cdb0ad934a6e64d24b3429b29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4.9000",
      "date": "2026-05-22T12:19:48.000Z",
      "arch": "emscripten",
      "commit": "1c9f97478b442d851b907de8042c298f9ac832b0",
      "fileid": "5685ea6af4802e7438c2686143c7a6839d103eaea7326bea1d22a970be4ac54e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25623922595"
    }
  ]
}