{
  "_id": "6a5177849b92047c28d509cd",
  "Type": "Package",
  "Package": "glex",
  "Title": "Global Explanations for Tree-Based Models",
  "Version": "0.6.0",
  "Authors@R": "c(\nperson(c(\"Marvin\", \"N.\"), \"Wright\", , \"cran@wrig.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8542-6291\")),\nperson(c(\"Joseph\", \"Theo\"), \"Meyer\", role = \"aut\"),\nperson(\"Munir\", \"Hiabu\", role = \"aut\"),\nperson(\"Lukas\", \"Burk\", , \"burk@leibniz-bips.de\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-7528-3795\")),\nperson(\"Jinyang\", \"Liu\", , \"jl@math.ku.dk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0005-3167-9014\"))\n)",
  "Description": "Global explanations for tree-based models by decomposing\nregression or classification functions into the sum of main\ncomponents and interaction components of arbitrary order.\nCalculates SHAP values and q-interaction SHAP for all values of\nq for tree-based models such as xgboost.",
  "License": "GPL-3",
  "URL": "https://github.com/PlantedML/glex, http://plantedml.com/glex/",
  "BugReports": "https://github.com/PlantedML/glex/issues",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "PlantedML/randomPlantedForest"
  ],
  "Additional_repositories": "https://plantedml.r-universe.dev",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://plantedml.r-universe.dev",
  "Date/Publication": "2026-07-10 22:07:57 UTC",
  "RemoteUrl": "https://github.com/PlantedML/glex",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-10 22:45:12 UTC",
    "User": "root"
  },
  "Author": "Marvin N. Wright [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8542-6291>),\nJoseph Theo Meyer [aut],\nMunir Hiabu [aut],\nLukas Burk [aut] (ORCID: <https://orcid.org/0000-0001-7528-3795>),\nJinyang Liu [aut] (ORCID: <https://orcid.org/0009-0005-3167-9014>)",
  "Maintainer": "Marvin N. Wright <cran@wrig.de>",
  "_user": "plantedml",
  "_type": "src",
  "_file": "glex_0.6.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0d526b3b77e429303b68cc11b8e300254d1944778a5743d906eb0d52af88066b",
  "_filesize": 686163,
  "_sha256": "0d526b3b77e429303b68cc11b8e300254d1944778a5743d906eb0d52af88066b",
  "_expires": "2026-10-18T22:51:46.000Z",
  "_created": "2026-07-10T22:45:12.000Z",
  "_published": "2026-07-10T22:51:48.429Z",
  "_jobs": [
    {
      "job": 86479386328,
      "time": 197,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8241261977"
    },
    {
      "job": 86479386323,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8241257332"
    },
    {
      "job": 86479386347,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241260950"
    },
    {
      "job": 86479386317,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241257236"
    },
    {
      "job": 86479386302,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8241250755"
    },
    {
      "job": 86479386278,
      "time": 335,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8241298446"
    },
    {
      "job": 86479386293,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241242295"
    },
    {
      "job": 86479386334,
      "time": 275,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241281817"
    },
    {
      "job": 86478859074,
      "time": 239,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241208773"
    },
    {
      "job": 86479386227,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8241245652"
    },
    {
      "job": 86479386291,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8241246384"
    },
    {
      "job": 86479386265,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8241248859"
    },
    {
      "job": 86479386316,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8241246949"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968",
  "_status": "success",
  "_upstream": "https://github.com/PlantedML/glex",
  "_commit": {
    "id": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
    "author": "Lukas Burk <jemus42@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Use air for formatting (#38)\n\n* auto-format with air\n\n* add air.toml\n\n* buildignore air.toml",
    "time": 1783721277
  },
  "_maintainer": {
    "name": "Marvin N. Wright",
    "email": "cran@wrig.de",
    "login": "mnwright",
    "orcid": "0000-0002-8542-6291",
    "description": "",
    "uuid": 9598192
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.8",
      "role": "Imports"
    },
    {
      "package": "scico",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "ISLR2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "randomPlantedForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "plantedml",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.5.2",
      "date": "2026-04-21"
    }
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "jemus42",
      "count": 92,
      "uuid": 1613346
    },
    {
      "user": "jyliuu",
      "count": 30,
      "uuid": 19805080
    },
    {
      "user": "mhiabu",
      "count": 7,
      "uuid": 46436255
    },
    {
      "user": "mnwright",
      "count": 4,
      "uuid": 9598192
    }
  ],
  "_userbio": {
    "uuid": 74848139,
    "type": "organization",
    "name": "PlantedML",
    "followers": 1
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/glex"
  },
  "_devurl": "https://github.com/plantedml/glex",
  "_pkgdown": "http://plantedml.com/glex/",
  "_searchresults": 35,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/glex.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "glex",
    "glex_explain",
    "glex_vi",
    "plot_main_effect",
    "plot_pdp",
    "plot_threeway_effects",
    "plot_twoway_effects",
    "subset_component_names",
    "subset_components",
    "theme_glex"
  ],
  "_datasets": [
    {
      "name": "bike",
      "title": "Bikesharing data",
      "object": "bike",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "season",
        "mnth",
        "hr",
        "holiday",
        "weekday",
        "workingday",
        "weathersit",
        "temp",
        "hum",
        "windspeed",
        "bikers"
      ],
      "rows": 8645,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "plot_components",
      "title": "Plot Prediction Components",
      "concept": [
        "Visualization functions"
      ],
      "topics": [
        "autoplot.glex",
        "plot_main_effect",
        "plot_threeway_effects",
        "plot_twoway_effects"
      ]
    },
    {
      "page": "autoplot.glex_vi",
      "title": "Plot glex Variable Importances",
      "concept": [
        "Visualization functions"
      ],
      "topics": [
        "autoplot.glex_vi"
      ]
    },
    {
      "page": "bike",
      "title": "Bikesharing data",
      "topics": [
        "bike"
      ]
    },
    {
      "page": "glex",
      "title": "Global explanations for tree-based models.",
      "topics": [
        "glex",
        "glex.default",
        "glex.ranger",
        "glex.rpf",
        "glex.xgb.Booster"
      ]
    },
    {
      "page": "glex_explain",
      "title": "Explain a single prediction",
      "concept": [
        "Visualization functions"
      ],
      "topics": [
        "glex_explain"
      ]
    },
    {
      "page": "glex_options",
      "title": "Package options for glex plots",
      "topics": [
        "glex_options"
      ]
    },
    {
      "page": "glex_vi",
      "title": "Variable Importance for Main and Interaction Terms",
      "topics": [
        "glex_vi"
      ]
    },
    {
      "page": "plot_pdp",
      "title": "Partial Dependence Plot",
      "concept": [
        "Visualization functions"
      ],
      "topics": [
        "plot_pdp"
      ]
    },
    {
      "page": "print.glex",
      "title": "Print glex objects",
      "topics": [
        "print.glex"
      ]
    },
    {
      "page": "subset_components",
      "title": "Subset components",
      "topics": [
        "subset_components",
        "subset_component_names"
      ]
    },
    {
      "page": "theme_glex",
      "title": "A ggplot2 theme for glex plots",
      "topics": [
        "theme_glex"
      ]
    }
  ],
  "_readme": "https://github.com/PlantedML/glex/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "farver",
    "foreach",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "scico",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "glex.Rmd",
      "filename": "glex.html",
      "title": "glex",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-02-24 16:25:38",
      "modified": "2023-02-24 16:25:38",
      "commits": 1
    }
  ],
  "_score": 4.866287339084195,
  "_indexed": true,
  "_nocasepkg": "glex",
  "_universes": [
    "plantedml",
    "mnwright"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-07-10T22:48:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/9afaf25cfb5f0d6f8a1a7347c59816d196810a24d809d48cb58ca2540578a795",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-07-10T22:47:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/04b09ae80a911f61eade0a3a23962e91e647f2c26b6969859a13924e9612516a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-07-10T22:48:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/7b5773ce7b740c633f22cbd6b112383f62f66d9e811b22ccc3fec8177d87da64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-07-10T22:47:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/13210da961b86b1e4c96d4f45e60e6cdbbc326ebc0295343d0c80ea59787865a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-07-10T22:47:21.000Z",
      "arch": "aarch64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/57899f8c448e5edb0c4d8233460f411c1940b04babdd14f6799e15a18e8118c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-07-10T22:49:01.000Z",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/c0a5de53e62bcec6647f485bf71a3172dfda144fbd09ab49ef61b601f83f5b34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-07-10T22:46:58.000Z",
      "arch": "aarch64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/19afc03430347b870e9cf1673948119817b0dcc831586e2cad8b493ab0d45236",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-07-10T22:48:43.000Z",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/74cbce7ab3e9be2b16adea67eaba4daaee36db6e2e771de6086f1133cb1576b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-07-10T22:47:47.000Z",
      "arch": "emscripten",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/186358639fcfdf9038e7af0e747d1bb1d228a99b04f806b9b38d10c5081992ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-07-10T22:46:54.000Z",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/973ccd9074653088f12e602ee93cb9e73f05411560518d33ef9f86b68e66c8d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-07-10T22:46:50.000Z",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/535b2170a0652f5a203cd313351da44a776e038503637c16fe8aab8da74f7656",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-07-10T22:46:43.000Z",
      "arch": "x86_64",
      "commit": "bd6b31ed7c535ac95cbf0ffd8e1cba51ad6ea956",
      "fileid": "https://r2.ropensci.org/194aab9d67d0635c3fe49f4402799d582bd8c32d056680c29df578117c473961",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/29128414968"
    }
  ]
}