{
  "_id": "6aef08b343b51afa49dd8f21",
  "Package": "shapviz",
  "Title": "SHAP Visualizations",
  "Version": "0.10.4",
  "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)",
  "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/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "make libicu-dev libjpeg-dev libpng-dev libxml2-dev\nlibssl-dev",
  "Repository": "https://modeloriented.r-universe.dev",
  "Date/Publication": "2026-08-31 16:36:25 UTC",
  "RemoteUrl": "https://github.com/modeloriented/shapviz",
  "RemoteRef": "HEAD",
  "RemoteSha": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-07 11:13:28 UTC",
    "User": "root"
  },
  "Author": "Michael Mayer [aut, cre],\nAdrian Stando [ctb]",
  "Maintainer": "Michael Mayer <mayermichael79@gmail.com>",
  "_user": "modeloriented",
  "_type": "src",
  "_file": "shapviz_0.10.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/82fcd83686896f9bce92aa2321a21ea311c0b9798d8efca4c585223ef2fe21ad",
  "_filesize": 3841065,
  "_sha256": "82fcd83686896f9bce92aa2321a21ea311c0b9798d8efca4c585223ef2fe21ad",
  "_expires": "2027-02-15T11:17:05.000Z",
  "_created": "2026-11-07T11:13:28.000Z",
  "_published": "2026-11-07T11:17:06.940Z",
  "_upstream": "https://github.com/modeloriented/shapviz",
  "_status": "success",
  "_maintainer": {
    "name": "Michael Mayer",
    "email": "mayermichael79@gmail.com",
    "login": "mayer79",
    "description": "Unbiased statistics | ML",
    "uuid": 16206095
  },
  "_jobs": [
    {
      "job": 128387964227,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13571803836"
    },
    {
      "job": 128387964222,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13571574371"
    },
    {
      "job": 128387964272,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13572043049"
    },
    {
      "job": 128387964214,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13571594169"
    },
    {
      "job": 128386987115,
      "time": 265,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13572171434"
    },
    {
      "job": 128387964339,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13572008008"
    },
    {
      "job": 128387964229,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13571958306"
    },
    {
      "job": 128387964255,
      "time": 116,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13572048100"
    },
    {
      "job": 128387964230,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13572092990"
    }
  ],
  "_buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763",
  "_commit": {
    "id": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
    "author": "Michael Mayer <mayermichael79@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #187 from ModelOriented/cran-release\n\nCRAN release",
    "time": 1788194185
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "h2o",
      "role": "Enhances"
    },
    {
      "package": "lightgbm",
      "role": "Enhances"
    }
  ],
  "_owner": "modeloriented",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.10.4",
      "date": "2026-08-31"
    }
  ],
  "_topics": [
    "explainable-ai",
    "machine-learning",
    "shap",
    "shapley-value",
    "visualization",
    "xai"
  ],
  "_stars": 124,
  "_contributors": [
    {
      "user": "mayer79",
      "count": 495,
      "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",
    "followers": 148
  },
  "_downloads": {
    "count": 6382,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shapviz"
  },
  "_devurl": "https://github.com/modeloriented/shapviz",
  "_pkgdown": "https://modeloriented.github.io/shapviz/",
  "_searchresults": 693,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shapviz.html"
  ],
  "_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"
    },
    {
      "version": "0.10.4",
      "date": "2026-09-08"
    }
  ],
  "_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",
    "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": "2026-08-30 16:01:47",
      "commits": 7
    },
    {
      "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": "2026-08-30 16:01:47",
      "commits": 26
    }
  ],
  "_score": 10.517262970015178,
  "_indexed": true,
  "_nocasepkg": "shapviz",
  "_universes": [
    "modeloriented",
    "mayer79"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:59.000Z",
      "distro": "resolute",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/dd412cdf64085bce0b5947d80231decec7bd04631e87fe4e1cc02041eeaf4ec5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:59.000Z",
      "distro": "resolute",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/7455537e9576d302b7e46eae03d74b526366ce269dc6f5ebe3cd508657e9b038",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:37.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/e9647a0f12554213e37c28b8bcc6477e405d9ff5233b72d69502efc0925fbf0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:15.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/e67f53f0e5eebcf1186eb08013f419b1949611180cd5b31ee7aa67b8143644e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:38.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/5286452b2397ff765b73aa9aa0e38a2f5a7565216395324d48a1eeba70dbbce8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.4",
      "date": "2026-11-07T11:15:00.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/771b5c3ada934a713c064366f122ad02cd1c5d414188e4a4051d359fd5c7abe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.4",
      "date": "2026-11-07T11:14:47.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/a8a4285b5bd609e3264391b66ee209ef181d578fde7546778855be22776ce87b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.10.4",
      "date": "2026-11-07T11:14:48.000Z",
      "commit": "a3ead2491c66b7345eaf23e212eb1edda03b4697",
      "fileid": "https://r2.ropensci.org/e2f0e374e01bde80ccdb14cb8d1b588c567e7bd203e73a182ab031e3ab570b8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/modeloriented/actions/runs/42366957763"
    }
  ]
}