{
  "_id": "6a10416aacfb0bcc41c9d769",
  "Package": "shapviz",
  "Title": "SHAP Visualizations",
  "Version": "0.10.3",
  "Authors@R": "c(\nperson(\"Michael\", \"Mayer\", , \"mayermichael79@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Adrian\", \"Stando\", , \"adrian.j.stando@gmail.com\", role = \"ctb\")\n)",
  "Description": "Visualizations for SHAP (SHapley Additive exPlanations),\nsuch as waterfall plots, force plots, various types of\nimportance plots, dependence plots, and interaction plots.\nThese plots act on a 'shapviz' object created from a matrix of\nSHAP values and a corresponding feature dataset. Wrappers for\nthe R packages 'xgboost', 'lightgbm', 'fastshap', 'shapr',\n'h2o', 'treeshap', 'DALEX', and 'kernelshap' are added for\nconvenience.  By separating visualization and computation, it\nis possible to display factor variables in graphs, even if the\nSHAP values are calculated by a model that requires numerical\nfeatures. The plots are inspired by those provided by the\n'shap' package in Python, but there is no dependency on it.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/ModelOriented/shapviz,\nhttps://modeloriented.github.io/shapviz/",
  "BugReports": "https://github.com/ModelOriented/shapviz/issues",
  "Config/pak/sysreqs": "make libicu-dev libjpeg-dev libpng-dev libxml2-dev\nlibssl-dev",
  "Repository": "https://modeloriented.r-universe.dev",
  "Date/Publication": "2025-10-13 06:52:24 UTC",
  "RemoteUrl": "https://github.com/modeloriented/shapviz",
  "RemoteRef": "HEAD",
  "RemoteSha": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:49:00 UTC",
    "User": "root"
  },
  "Author": "Michael Mayer [aut, cre],\nAdrian Stando [ctb]",
  "Maintainer": "Michael Mayer <mayermichael79@gmail.com>",
  "MD5sum": "6db0880ac9b84820714d36ff6ac97501",
  "_user": "modeloriented",
  "_type": "src",
  "_file": "shapviz_0.10.3.tar.gz",
  "_fileid": "512c3de8c7f4b7904231b948fa12bd3f9fde27c7f2e5abcf03e02ccf79abba5f",
  "_filesize": 3729231,
  "_sha256": "512c3de8c7f4b7904231b948fa12bd3f9fde27c7f2e5abcf03e02ccf79abba5f",
  "_created": "2026-05-11T07:49:00.000Z",
  "_published": "2026-05-22T11:43:38.901Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77372666012,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6913040121"
    },
    {
      "job": 77372666191,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913033739"
    },
    {
      "job": 77372665684,
      "time": 242,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913043624"
    },
    {
      "job": 77372665814,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913018446"
    },
    {
      "job": 77372665316,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912979247"
    },
    {
      "job": 77372665359,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159662296"
    },
    {
      "job": 77372665832,
      "time": 187,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6913036292"
    },
    {
      "job": 77372665812,
      "time": 140,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913016899"
    },
    {
      "job": 77372665921,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913026774"
    }
  ],
  "_buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/modeloriented/shapviz",
  "_commit": {
    "id": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
    "author": "Michael Mayer <mayermichael79@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #182 from ModelOriented/cran-submission\n\nCran submission",
    "time": 1760338344
  },
  "_maintainer": {
    "name": "Michael Mayer",
    "email": "mayermichael79@gmail.com",
    "login": "mayer79",
    "uuid": 16206095
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "ggfittext",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "gggenes",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "fastshap",
      "role": "Enhances"
    },
    {
      "package": "h2o",
      "role": "Enhances"
    },
    {
      "package": "lightgbm",
      "role": "Enhances"
    }
  ],
  "_owner": "modeloriented",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-25",
      "n": 7
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.10.0",
      "date": "2025-06-22"
    },
    {
      "name": "0.10.1",
      "date": "2025-06-23"
    },
    {
      "name": "0.10.2",
      "date": "2025-07-17"
    },
    {
      "name": "0.10.3",
      "date": "2025-10-13"
    }
  ],
  "_topics": [
    "explainable-ai",
    "machine-learning",
    "shap",
    "shapley-value",
    "visualization",
    "xai"
  ],
  "_stars": 120,
  "_contributors": [
    {
      "user": "mayer79",
      "count": 480,
      "uuid": 16206095
    },
    {
      "user": "adrianstando",
      "count": 10,
      "uuid": 56126191
    },
    {
      "user": "martinju",
      "count": 7,
      "uuid": 16880658
    },
    {
      "user": "kapsner",
      "count": 2,
      "uuid": 44973495
    },
    {
      "user": "jmaspons",
      "count": 1,
      "uuid": 102644
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 44725555,
    "type": "organization",
    "name": "Model Oriented"
  },
  "_downloads": {
    "count": 9104,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shapviz"
  },
  "_devurl": "https://github.com/modeloriented/shapviz",
  "_pkgdown": "https://modeloriented.github.io/shapviz/",
  "_searchresults": 718,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shapviz.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/modeloriented/shapviz",
  "_realowner": "modeloriented",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-06-10"
    },
    {
      "version": "0.2.0",
      "date": "2022-07-07"
    },
    {
      "version": "0.2.1",
      "date": "2022-08-11"
    },
    {
      "version": "0.2.2",
      "date": "2022-10-07"
    },
    {
      "version": "0.3.0",
      "date": "2022-11-26"
    },
    {
      "version": "0.4.0",
      "date": "2022-12-09"
    },
    {
      "version": "0.4.1",
      "date": "2023-01-14"
    },
    {
      "version": "0.5.0",
      "date": "2023-02-03"
    },
    {
      "version": "0.6.0",
      "date": "2023-03-05"
    },
    {
      "version": "0.7.0",
      "date": "2023-04-11"
    },
    {
      "version": "0.8.0",
      "date": "2023-05-10"
    },
    {
      "version": "0.9.0",
      "date": "2023-06-09"
    },
    {
      "version": "0.9.1",
      "date": "2023-07-18"
    },
    {
      "version": "0.9.2",
      "date": "2023-10-14"
    },
    {
      "version": "0.9.3",
      "date": "2024-01-12"
    },
    {
      "version": "0.9.4",
      "date": "2024-08-20"
    },
    {
      "version": "0.9.5",
      "date": "2024-09-14"
    },
    {
      "version": "0.9.6",
      "date": "2024-10-11"
    },
    {
      "version": "0.9.7",
      "date": "2025-01-19"
    },
    {
      "version": "0.10.0",
      "date": "2025-06-22"
    },
    {
      "version": "0.10.1",
      "date": "2025-06-23"
    },
    {
      "version": "0.10.2",
      "date": "2025-07-17"
    },
    {
      "version": "0.10.3",
      "date": "2025-10-13"
    }
  ],
  "_exports": [
    "collapse_shap",
    "format_max",
    "get_baseline",
    "get_feature_values",
    "get_shap_interactions",
    "get_shap_values",
    "is.mshapviz",
    "is.shapviz",
    "mshapviz",
    "potential_interactions",
    "shapviz",
    "sv_dependence",
    "sv_dependence2D",
    "sv_force",
    "sv_importance",
    "sv_interaction",
    "sv_waterfall"
  ],
  "_datasets": [
    {
      "name": "miami",
      "title": "Miami-Dade County House Prices",
      "object": "miami",
      "class": [
        "data.frame"
      ],
      "fields": [
        "LATITUDE",
        "LONGITUDE",
        "PARCELNO",
        "SALE_PRC",
        "LND_SQFOOT",
        "TOT_LVG_AREA",
        "SPEC_FEAT_VAL",
        "RAIL_DIST",
        "OCEAN_DIST",
        "WATER_DIST",
        "CNTR_DIST",
        "SUBCNTR_DI",
        "HWY_DIST",
        "age",
        "avno60plus",
        "month_sold",
        "structure_quality"
      ],
      "rows": 13932,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "shapviz-package",
      "title": "shapviz: SHAP Visualizations",
      "topics": [
        "shapviz-package"
      ]
    },
    {
      "page": "sub-.shapviz",
      "title": "Subsets \"shapviz\" Object",
      "topics": [
        "[.shapviz"
      ]
    },
    {
      "page": "plus-.shapviz",
      "title": "Rowbinds two \"shapviz\" Objects",
      "topics": [
        "+.mshapviz",
        "+.shapviz"
      ]
    },
    {
      "page": "c.shapviz",
      "title": "Concatenates \"shapviz\" Objects",
      "topics": [
        "c.shapviz"
      ]
    },
    {
      "page": "collapse_shap",
      "title": "Collapse SHAP values",
      "topics": [
        "collapse_shap"
      ]
    },
    {
      "page": "dim.shapviz",
      "title": "Dimensions of \"shapviz\" Object",
      "topics": [
        "dim.shapviz"
      ]
    },
    {
      "page": "dimnames.shapviz",
      "title": "Dimnames of \"shapviz\" Object",
      "topics": [
        "dimnames.shapviz"
      ]
    },
    {
      "page": "dimnames-set-.shapviz",
      "title": "Dimnames (Replacement Method) of \"shapviz\" Object",
      "topics": [
        "dimnames<-.shapviz"
      ]
    },
    {
      "page": "extractors",
      "title": "Extractor Functions",
      "topics": [
        "extractors",
        "get_baseline",
        "get_baseline.default",
        "get_baseline.mshapviz",
        "get_baseline.shapviz",
        "get_feature_values",
        "get_feature_values.default",
        "get_feature_values.mshapviz",
        "get_feature_values.shapviz",
        "get_shap_interactions",
        "get_shap_interactions.default",
        "get_shap_interactions.mshapviz",
        "get_shap_interactions.shapviz",
        "get_shap_values",
        "get_shap_values.default",
        "get_shap_values.mshapviz",
        "get_shap_values.shapviz"
      ]
    },
    {
      "page": "format_max",
      "title": "Number Formatter",
      "topics": [
        "format_max"
      ]
    },
    {
      "page": "is.mshapviz",
      "title": "Check for mshapviz",
      "topics": [
        "is.mshapviz"
      ]
    },
    {
      "page": "is.shapviz",
      "title": "Check for shapviz",
      "topics": [
        "is.shapviz"
      ]
    },
    {
      "page": "miami",
      "title": "Miami-Dade County House Prices",
      "topics": [
        "miami"
      ]
    },
    {
      "page": "mshapviz",
      "title": "Combines compatible \"shapviz\" Objects",
      "topics": [
        "mshapviz"
      ]
    },
    {
      "page": "potential_interactions",
      "title": "Interaction Strength",
      "topics": [
        "potential_interactions"
      ]
    },
    {
      "page": "print.mshapviz",
      "title": "Prints \"mshapviz\" Object",
      "topics": [
        "print.mshapviz"
      ]
    },
    {
      "page": "print.shapviz",
      "title": "Prints \"shapviz\" Object",
      "topics": [
        "print.shapviz"
      ]
    },
    {
      "page": "rbind.shapviz",
      "title": "Rowbinds Multiple \"shapviz\" or \"mshapviz\" Objects",
      "topics": [
        "rbind.mshapviz",
        "rbind.shapviz"
      ]
    },
    {
      "page": "shapviz",
      "title": "Initialize \"shapviz\" Object",
      "topics": [
        "shapviz",
        "shapviz.default",
        "shapviz.explain",
        "shapviz.H2OModel",
        "shapviz.kernelshap",
        "shapviz.lgb.Booster",
        "shapviz.matrix",
        "shapviz.predict_parts",
        "shapviz.shapr",
        "shapviz.treeshap",
        "shapviz.xgb.Booster"
      ]
    },
    {
      "page": "split.shapviz",
      "title": "Splits \"shapviz\" Object",
      "topics": [
        "split.shapviz"
      ]
    },
    {
      "page": "summary.shapviz",
      "title": "Summarizes \"shapviz\" Object",
      "topics": [
        "summary.shapviz"
      ]
    },
    {
      "page": "sv_dependence",
      "title": "SHAP Dependence Plot",
      "topics": [
        "sv_dependence",
        "sv_dependence.default",
        "sv_dependence.mshapviz",
        "sv_dependence.shapviz"
      ]
    },
    {
      "page": "sv_dependence2D",
      "title": "2D SHAP Dependence Plot",
      "topics": [
        "sv_dependence2D",
        "sv_dependence2D.default",
        "sv_dependence2D.mshapviz",
        "sv_dependence2D.shapviz"
      ]
    },
    {
      "page": "sv_force",
      "title": "SHAP Force Plot",
      "topics": [
        "sv_force",
        "sv_force.default",
        "sv_force.mshapviz",
        "sv_force.shapviz"
      ]
    },
    {
      "page": "sv_importance",
      "title": "SHAP Importance Plots",
      "topics": [
        "sv_importance",
        "sv_importance.default",
        "sv_importance.mshapviz",
        "sv_importance.shapviz"
      ]
    },
    {
      "page": "sv_interaction",
      "title": "SHAP Interaction Plot",
      "topics": [
        "sv_interaction",
        "sv_interaction.default",
        "sv_interaction.mshapviz",
        "sv_interaction.shapviz"
      ]
    },
    {
      "page": "sv_waterfall",
      "title": "SHAP Waterfall Plot",
      "topics": [
        "sv_waterfall",
        "sv_waterfall.default",
        "sv_waterfall.mshapviz",
        "sv_waterfall.shapviz"
      ]
    }
  ],
  "_pkglogo": "https://github.com/modeloriented/shapviz/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/modeloriented/shapviz/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "data.table",
    "farver",
    "ggfittext",
    "gggenes",
    "ggplot2",
    "ggrepel",
    "glue",
    "gridtext",
    "gtable",
    "isoband",
    "jpeg",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "Matrix",
    "patchwork",
    "png",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "shades",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xgboost",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "geographic.Rmd",
      "filename": "geographic.html",
      "title": "Geographic Components",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting",
        "A first example",
        "Two modifications",
        "References"
      ],
      "created": "2023-06-07 12:46:23",
      "modified": "2024-09-11 15:23:11",
      "commits": 8
    },
    {
      "source": "multiple_output.Rmd",
      "filename": "multiple_output.html",
      "title": "Multiple 'shapviz' objects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example: Multiclass XGBoost model",
        "Similar for LightGBM (only code)",
        "Or for a random forest with",
        "Example: SHAP subgroup analysis",
        "Example: Different models",
        "Fit linear regression and use {kernelshap} to get SHAP values"
      ],
      "created": "2023-04-07 17:50:48",
      "modified": "2025-06-22 13:51:21",
      "commits": 14
    },
    {
      "source": "tidymodels.Rmd",
      "filename": "tidymodels.html",
      "title": "Tidymodels",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Normal case",
        "XGBoost",
        "LightGBM",
        "Probabilistic classification",
        "LightGBM (binary probabilistic)"
      ],
      "created": "2024-09-05 14:24:59",
      "modified": "2025-06-21 18:52:21",
      "commits": 6
    },
    {
      "source": "basic_use.Rmd",
      "filename": "basic_use.html",
      "title": "Using 'shapviz'",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Usage",
        "Compact SHAP analysis",
        "Decompose single predictions",
        "SHAP Interactions",
        "Interface to other packages",
        "LightGBM",
        "fastshap",
        "shapr",
        "H2O",
        "treeshap",
        "DALEX",
        "kernelshap",
        "Any other package",
        "References"
      ],
      "created": "2023-04-07 17:50:48",
      "modified": "2025-06-22 13:51:21",
      "commits": 25
    }
  ],
  "_score": 11.149810444444228,
  "_indexed": true,
  "_nocasepkg": "shapviz",
  "_universes": [
    "modeloriented",
    "mayer79"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-11T07:51:45.000Z",
      "distro": "noble",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "a1263bc743e9d1fcda2f67406e87b7a40d7798210d5a6d3ce6500dff915725a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-11T07:51:27.000Z",
      "distro": "noble",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "611e451bd91e08808ac383181a34dcf26d33f01070c67d9728ada57645d68a33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-11T07:52:07.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "7d0de08aaf62d4e79b573705e7c868440c2d62807c96e7543974aab1a604e747",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-11T07:50:49.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "a4b58be5577676779ade84af7e21691a0e93215f70cb39a540ebaddbb24dee6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-11T07:51:28.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "85800008016921f383d9bdebebb42dc2be8449ecd5136aa96160f47bde630840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-11T07:50:22.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "42cf4474fd0fd0f0c40b163c03208a6afd473db2e69eb019c187702060c9e46a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-11T07:50:53.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "4cee9451ca83925ce3fac17653fa21f60c49bbfa71dc8f938a448304b4e4760d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.3",
      "date": "2026-05-22T11:43:14.000Z",
      "commit": "0e3229c5ec1307cfb9247b763e4152a737188cd9",
      "fileid": "dea21e205f8a95660236173bf3d783a6f8a86d9fc148b491c8bf13c839aa7153",
      "status": "success",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/25657149467"
    }
  ]
}