{
  "_id": "6a4a1127b9bf02698bd5777f",
  "Package": "flashlight",
  "Title": "Shed Light on Black Box Machine Learning Models",
  "Version": "1.0.0",
  "Authors@R": "person(\"Michael\", \"Mayer\", , \"mayermichael79@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Shed light on black box machine learning models by the\nhelp of model performance, variable importance, global\nsurrogate models, ICE profiles, partial dependence (Friedman J.\nH. (2001) <doi:10.1214/aos/1013203451>), accumulated local\neffects (Apley D. W. (2016) <doi:10.48550/arXiv.1612.08468>),\nfurther effects plots, interaction strength, and variable\ncontribution breakdown (Gosiewska and Biecek (2019)\n<doi:10.48550/arXiv.1903.11420>).  All tools are implemented to\nwork with case weights and allow for stratified analysis.\nFurthermore, multiple flashlights can be combined and analyzed\ntogether.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/mayer79/flashlight",
  "BugReports": "https://github.com/mayer79/flashlight/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://mayer79.r-universe.dev",
  "Date/Publication": "2025-10-13 15:41:54 UTC",
  "RemoteUrl": "https://github.com/mayer79/flashlight",
  "RemoteRef": "HEAD",
  "RemoteSha": "df383bc210ec3f6da7056bc8d5909719f487f831",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 08:45:39 UTC",
    "User": "root"
  },
  "Author": "Michael Mayer [aut, cre, cph]",
  "Maintainer": "Michael Mayer <mayermichael79@gmail.com>",
  "_user": "mayer79",
  "_type": "src",
  "_file": "flashlight_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/44b419bd390a4ced2083221e82427f7b24fcf470ef3aca256e27891d2b5f7408",
  "_filesize": 1591349,
  "_sha256": "44b419bd390a4ced2083221e82427f7b24fcf470ef3aca256e27891d2b5f7408",
  "_expires": "2026-10-13T08:09:09.000Z",
  "_created": "2026-06-10T08:45:39.000Z",
  "_published": "2026-07-05T08:09:11.035Z",
  "_jobs": [
    {
      "job": 85205675518,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7530872090"
    },
    {
      "job": 85205678735,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530871736"
    },
    {
      "job": 85205669131,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7531071197"
    },
    {
      "job": 85205669033,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531152079"
    },
    {
      "job": 85205677694,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530812980"
    },
    {
      "job": 85205669056,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530861901"
    },
    {
      "job": 85205674938,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7530848740"
    },
    {
      "job": 85205675746,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7530848762"
    },
    {
      "job": 85205669015,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7530849733"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115",
  "_status": "success",
  "_upstream": "https://github.com/mayer79/flashlight",
  "_commit": {
    "id": "df383bc210ec3f6da7056bc8d5909719f487f831",
    "author": "Michael Mayer <mayermichael79@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #69 from mayer79/cran-submission\n\nCran submission",
    "time": 1760370114
  },
  "_maintainer": {
    "name": "Michael Mayer",
    "email": "mayermichael79@gmail.com",
    "login": "mayer79",
    "uuid": 16206095
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MetricsWeighted",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "rpart.plot",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mayer79",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-42",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-10-13"
    }
  ],
  "_topics": [
    "interpretability",
    "interpretable-machine-learning",
    "machine-learning",
    "xai"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "mayer79",
      "count": 289,
      "uuid": 16206095
    }
  ],
  "_userbio": {
    "uuid": 16206095,
    "type": "user",
    "name": "Michael Mayer",
    "description": "Unbiased statistics | ML"
  },
  "_downloads": {
    "count": 476,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flashlight"
  },
  "_devurl": "https://github.com/mayer79/flashlight",
  "_searchresults": 72,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flashlight.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mayer79/flashlight",
  "_realowner": "mayer79",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-08-25"
    },
    {
      "version": "0.2.0",
      "date": "2019-09-18"
    },
    {
      "version": "0.3.0",
      "date": "2019-10-13"
    },
    {
      "version": "0.4.0",
      "date": "2019-11-10"
    },
    {
      "version": "0.5.0",
      "date": "2019-12-05"
    },
    {
      "version": "0.6.0",
      "date": "2020-01-19"
    },
    {
      "version": "0.7.0",
      "date": "2020-03-12"
    },
    {
      "version": "0.7.1",
      "date": "2020-03-20"
    },
    {
      "version": "0.7.2",
      "date": "2020-04-14"
    },
    {
      "version": "0.7.3",
      "date": "2020-06-20"
    },
    {
      "version": "0.7.4",
      "date": "2021-01-10"
    },
    {
      "version": "0.7.5",
      "date": "2021-02-13"
    },
    {
      "version": "0.8.0",
      "date": "2021-04-21"
    },
    {
      "version": "0.9.0",
      "date": "2023-05-10"
    },
    {
      "version": "1.0.0",
      "date": "2025-10-13"
    }
  ],
  "_exports": [
    "add_shap",
    "flashlight",
    "is.flashlight",
    "is.light",
    "is.light_breakdown",
    "is.light_breakdown_multi",
    "is.light_effects",
    "is.light_effects_multi",
    "is.light_global_surrogate",
    "is.light_global_surrogate_multi",
    "is.light_ice",
    "is.light_ice_multi",
    "is.light_importance",
    "is.light_importance_multi",
    "is.light_performance",
    "is.light_performance_multi",
    "is.light_profile",
    "is.light_profile_multi",
    "is.light_profile2d",
    "is.light_profile2d_multi",
    "is.light_scatter",
    "is.light_scatter_multi",
    "is.multiflashlight",
    "is.shap",
    "light_breakdown",
    "light_check",
    "light_combine",
    "light_effects",
    "light_global_surrogate",
    "light_ice",
    "light_importance",
    "light_interaction",
    "light_performance",
    "light_profile",
    "light_profile2d",
    "light_recode",
    "light_scatter",
    "most_important",
    "multiflashlight",
    "plot_counts",
    "response"
  ],
  "_help": [
    {
      "page": "add_shap",
      "title": "DEPRECATED",
      "topics": [
        "add_shap"
      ]
    },
    {
      "page": "flashlight",
      "title": "Create or Update a flashlight",
      "topics": [
        "flashlight",
        "flashlight.default",
        "flashlight.flashlight"
      ]
    },
    {
      "page": "is.flashlight",
      "title": "Check functions for flashlight Classes",
      "topics": [
        "is.flashlight",
        "is.light",
        "is.light_breakdown",
        "is.light_breakdown_multi",
        "is.light_effects",
        "is.light_effects_multi",
        "is.light_global_surrogate",
        "is.light_global_surrogate_multi",
        "is.light_ice",
        "is.light_ice_multi",
        "is.light_importance",
        "is.light_importance_multi",
        "is.light_performance",
        "is.light_performance_multi",
        "is.light_profile",
        "is.light_profile2d",
        "is.light_profile2d_multi",
        "is.light_profile_multi",
        "is.light_scatter",
        "is.light_scatter_multi",
        "is.multiflashlight",
        "is.shap"
      ]
    },
    {
      "page": "light_breakdown",
      "title": "Variable Contribution Breakdown for Single Observation",
      "topics": [
        "light_breakdown",
        "light_breakdown.default",
        "light_breakdown.flashlight",
        "light_breakdown.multiflashlight"
      ]
    },
    {
      "page": "light_check",
      "title": "Check flashlight",
      "topics": [
        "light_check",
        "light_check.default",
        "light_check.flashlight",
        "light_check.multiflashlight"
      ]
    },
    {
      "page": "light_combine",
      "title": "Combine Objects",
      "topics": [
        "light_combine",
        "light_combine.default",
        "light_combine.light",
        "light_combine.list"
      ]
    },
    {
      "page": "light_effects",
      "title": "Combination of Response, Predicted, Partial Dependence, and ALE profiles.",
      "topics": [
        "light_effects",
        "light_effects.default",
        "light_effects.flashlight",
        "light_effects.multiflashlight"
      ]
    },
    {
      "page": "light_global_surrogate",
      "title": "Global Surrogate Tree",
      "topics": [
        "light_global_surrogate",
        "light_global_surrogate.default",
        "light_global_surrogate.flashlight",
        "light_global_surrogate.multiflashlight"
      ]
    },
    {
      "page": "light_ice",
      "title": "Individual Conditional Expectation (ICE)",
      "topics": [
        "light_ice",
        "light_ice.default",
        "light_ice.flashlight",
        "light_ice.multiflashlight"
      ]
    },
    {
      "page": "light_importance",
      "title": "Permutation Variable Importance",
      "topics": [
        "light_importance",
        "light_importance.default",
        "light_importance.flashlight",
        "light_importance.multiflashlight"
      ]
    },
    {
      "page": "light_interaction",
      "title": "Interaction Strength",
      "topics": [
        "light_interaction",
        "light_interaction.default",
        "light_interaction.flashlight",
        "light_interaction.multiflashlight"
      ]
    },
    {
      "page": "light_performance",
      "title": "Model Performance of Flashlight",
      "topics": [
        "light_performance",
        "light_performance.default",
        "light_performance.flashlight",
        "light_performance.multiflashlight"
      ]
    },
    {
      "page": "light_profile",
      "title": "Partial Dependence and other Profiles",
      "topics": [
        "light_profile",
        "light_profile.default",
        "light_profile.flashlight",
        "light_profile.multiflashlight"
      ]
    },
    {
      "page": "light_profile2d",
      "title": "2D Partial Dependence and other 2D Profiles",
      "topics": [
        "light_profile2d",
        "light_profile2d.default",
        "light_profile2d.flashlight",
        "light_profile2d.multiflashlight"
      ]
    },
    {
      "page": "light_recode",
      "title": "DEPRECATED",
      "topics": [
        "light_recode"
      ]
    },
    {
      "page": "light_scatter",
      "title": "Scatter Plot Data",
      "topics": [
        "light_scatter",
        "light_scatter.default",
        "light_scatter.flashlight",
        "light_scatter.multiflashlight"
      ]
    },
    {
      "page": "most_important",
      "title": "Most Important Variables.",
      "topics": [
        "most_important"
      ]
    },
    {
      "page": "multiflashlight",
      "title": "Create or Update a multiflashlight",
      "topics": [
        "multiflashlight",
        "multiflashlight.default",
        "multiflashlight.flashlight",
        "multiflashlight.list",
        "multiflashlight.multiflashlight"
      ]
    },
    {
      "page": "plot_counts",
      "title": "DEPRECATED",
      "topics": [
        "plot_counts"
      ]
    },
    {
      "page": "plot.light_breakdown",
      "title": "Visualize Variable Contribution Breakdown for Single Observation",
      "topics": [
        "plot.light_breakdown"
      ]
    },
    {
      "page": "plot.light_effects",
      "title": "Visualize Multiple Types of Profiles Together",
      "topics": [
        "plot.light_effects"
      ]
    },
    {
      "page": "plot.light_global_surrogate",
      "title": "Plot Global Surrogate Trees",
      "topics": [
        "plot.light_global_surrogate"
      ]
    },
    {
      "page": "plot.light_ice",
      "title": "Visualize ICE profiles",
      "topics": [
        "plot.light_ice"
      ]
    },
    {
      "page": "plot.light_importance",
      "title": "Visualize Variable Importance",
      "topics": [
        "plot.light_importance"
      ]
    },
    {
      "page": "plot.light_performance",
      "title": "Visualize Model Performance",
      "topics": [
        "plot.light_performance"
      ]
    },
    {
      "page": "plot.light_profile",
      "title": "Visualize Profiles, e.g. Partial Dependence",
      "topics": [
        "plot.light_profile"
      ]
    },
    {
      "page": "plot.light_profile2d",
      "title": "Visualize 2D-Profiles, e.g., of Partial Dependence",
      "topics": [
        "plot.light_profile2d"
      ]
    },
    {
      "page": "plot.light_scatter",
      "title": "Scatter Plot",
      "topics": [
        "plot.light_scatter"
      ]
    },
    {
      "page": "predict.flashlight",
      "title": "Predictions for flashlight",
      "topics": [
        "predict.flashlight"
      ]
    },
    {
      "page": "predict.multiflashlight",
      "title": "Predictions for multiflashlight",
      "topics": [
        "predict.multiflashlight"
      ]
    },
    {
      "page": "print.flashlight",
      "title": "Prints a flashlight",
      "topics": [
        "print.flashlight"
      ]
    },
    {
      "page": "print.light",
      "title": "Prints light Object",
      "topics": [
        "print.light"
      ]
    },
    {
      "page": "print.multiflashlight",
      "title": "Prints a multiflashlight",
      "topics": [
        "print.multiflashlight"
      ]
    },
    {
      "page": "residuals.flashlight",
      "title": "Residuals for flashlight",
      "topics": [
        "residuals.flashlight"
      ]
    },
    {
      "page": "residuals.multiflashlight",
      "title": "Residuals for multiflashlight",
      "topics": [
        "residuals.multiflashlight"
      ]
    },
    {
      "page": "response",
      "title": "Response of multi/-flashlight",
      "topics": [
        "response",
        "response.default",
        "response.flashlight",
        "response.multiflashlight"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mayer79/flashlight/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mayer79/flashlight/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "MetricsWeighted",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "rpart",
    "rpart.plot",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "flashlight.Rmd",
      "filename": "flashlight.html",
      "title": "Using flashlight",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Usage",
        "Performance",
        "Permutation importance regarding first metric",
        "ICE curves for Petal.Width",
        "PDPs",
        "2D PDP",
        "ALE",
        "Different profile plots in one",
        "Variable contribution breakdown for single observation",
        "Global surrogate tree",
        "Multiple models",
        "flashlights",
        "Typical predict_functions (a selection)",
        "References"
      ],
      "created": "2019-08-19 18:17:09",
      "modified": "2025-10-13 07:21:47",
      "commits": 33
    }
  ],
  "_score": 6.732393759822969,
  "_indexed": true,
  "_nocasepkg": "flashlight",
  "_universes": [
    "mayer79"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-10T08:48:00.000Z",
      "distro": "noble",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/cc8d1f7ac81ffef20450785567a5e2cc80ec62569f50e2081c6da7133e842190",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-10T08:47:58.000Z",
      "distro": "noble",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/1fa1808d6ecc73eedf5970232b8668cfe04e5a89a77827ef35e7cc2b9baf83e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-10T08:56:50.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/644e144f0b30c593d12b6a1978ab36efa277743a1f6be24d778e1f41fa2dabf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-10T09:00:34.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/6864d9c4ce301452bdec628fb62781d4205aeaeb8f3601f56fdaa75a9d7ca31d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-10T08:48:05.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/24616e7a151ae2057b1fdd340361edfb305370a1d4e79bd576bd885c2b41820c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-10T08:46:52.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/a855a06b713d9bf10596e4d66e5648c9122ff389390fee9421bf7ee37387cea9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-10T08:46:51.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/ba1d96e3bb0dc245f6dcad52ec77949a00ff10bc6bed353029053da26a5869a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-10T08:46:55.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "https://r2.ropensci.org/fa12b9b46a58e57282fb3a1a566c6be9a5646de4c00677e24d17f81ec2fbeb8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/27264276115"
    }
  ]
}