{
  "_id": "6ac85471de46216d5edd4489",
  "Type": "Package",
  "Package": "glex",
  "Title": "Global Explanations for Tree-Based Models",
  "Version": "0.7.0.9000",
  "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, https://plantedml.com/glex/",
  "BugReports": "https://github.com/PlantedML/glex/issues",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "PlantedML/randomPlantedForest"
  ],
  "Additional_repositories": "https://plantedml.r-universe.dev",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.1.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Repository": "https://plantedml.r-universe.dev",
  "Date/Publication": "2026-10-09 00:15:38 UTC",
  "RemoteUrl": "https://github.com/PlantedML/glex",
  "RemoteRef": "HEAD",
  "RemoteSha": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-09 02:31:08 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.7.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/9225dacebdda3624df83774fcb302c1fd5c6a169f38158ced3cd7fe6788b9485",
  "_filesize": 1018383,
  "_sha256": "9225dacebdda3624df83774fcb302c1fd5c6a169f38158ced3cd7fe6788b9485",
  "_expires": "2027-01-17T02:41:51.000Z",
  "_created": "2026-10-09T02:31:08.000Z",
  "_published": "2026-10-09T02:41:53.207Z",
  "_buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113641468408,
      "time": 158,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11591304685"
    },
    {
      "job": 113641468419,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11591674203"
    },
    {
      "job": 113641468387,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592201586"
    },
    {
      "job": 113641468362,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592066826"
    },
    {
      "job": 113641468487,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11591544768"
    },
    {
      "job": 113641468390,
      "time": 266,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11592490093"
    },
    {
      "job": 113641468397,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11591514756"
    },
    {
      "job": 113641468448,
      "time": 443,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592356312"
    },
    {
      "job": 113640427054,
      "time": 244,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592082522"
    },
    {
      "job": 113641468349,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11592072769"
    },
    {
      "job": 113641468389,
      "time": 303,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11591809256"
    },
    {
      "job": 113641468342,
      "time": 226,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11591474747"
    },
    {
      "job": 113641468346,
      "time": 151,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11591619146"
    },
    {
      "job": 113641468399,
      "time": 259,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592038136"
    },
    {
      "job": 113641468326,
      "time": 171,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11592345271"
    }
  ],
  "_upstream": "https://github.com/PlantedML/glex",
  "_commit": {
    "id": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
    "author": "Lukas Burk <burk@leibniz-bips.de>",
    "committer": "Lukas Burk <burk@leibniz-bips.de>",
    "message": "docs, README\n",
    "time": 1791504938
  },
  "_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": ">= 4.1.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": "jsonlite",
      "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",
      "version": ">= 0.3.0",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "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
    },
    {
      "week": "2026-29",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 3
    },
    {
      "week": "2026-41",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.5.2",
      "date": "2026-04-21"
    },
    {
      "name": "v0.7.0",
      "date": "2026-10-05"
    }
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "jemus42",
      "count": 105,
      "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": "https://plantedml.com/glex/",
  "_searchresults": 36,
  "_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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "dummy_groups",
    "glex",
    "glex_explain",
    "glex_vi",
    "group_components",
    "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": "dummy_groups",
      "title": "Derive feature groups from the factors behind a dummy encoding",
      "topics": [
        "dummy_groups"
      ]
    },
    {
      "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": "group_components",
      "title": "Group features of a decomposition",
      "topics": [
        "group_components"
      ]
    },
    {
      "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",
    "jsonlite",
    "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": "feature-grouping.Rmd",
      "filename": "feature-grouping.html",
      "title": "Categorical features: native factors, one-hot groups and semantic groups",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Native factors",
        "Dummy encoding fragments the decomposition",
        "Re-assembling the factor with group_components()",
        "Other encoding schemes",
        "Semantic groups"
      ],
      "created": "2026-10-03 17:56:56",
      "modified": "2026-10-03 17:56:56",
      "commits": 1
    },
    {
      "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": 5.65667304588485,
  "_indexed": true,
  "_nocasepkg": "glex",
  "_universes": [
    "plantedml",
    "mnwright"
  ],
  "_previous": "0.7.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/ecd333796aa2cf8615deb53cc62d9294f4fd513e5c3bcdacde0e446dd23c17c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/5481b6a156865402554a1e83bc3f00a90e41efe44b864a5e227cfa9345322b48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/b5196a0736818259a5b06575ae9df9b7ab24962633975982047ca3b3908ed328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/212e69493568350c3085bc19f81aa4165fdfa35c188b8702d0abcf7db5dd0a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:35:21.000Z",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/b8951dfb6b2e2f8c38c164b3f2cc4d036acaec32350bef1ec7b50da4255c65ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:34:58.000Z",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/023dbe148f2f5af56ed84198acb75b9a042efcbe6bcfbd7aae0eaf6c24d9da18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:34:43.000Z",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/6393efa8b7255705cba25b4e8ff40cd70a6a6d65db5b9cfa0f804734e75ff30b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:38:04.000Z",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/e6f7afc9cf4fcd5f950db7297c5c6e0e6f92c8c79c05539c0e76479bfebc8537",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:28.000Z",
      "arch": "emscripten",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/0b7c6c368b1b30b41adad0d24ab669c059a2504a177ca081e06775a292ba4c1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:35:07.000Z",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/f69eeed0444b5465f7a31a9702a699e8de4db9e64c3d9e72de754c02aeb0f605",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:32:51.000Z",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/56edc024985adac599eef2a745c2f65e9b3736428c0453faf49fe7d2a207fa6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:33:03.000Z",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/49463d78ccab93fe9792c6b940acedff23f11e6cabd7c710db3048d3846bece6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:34:25.000Z",
      "arch": "aarch64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/5958af28fbbd5c06310dc5b60bdf6c8ebabc23970f3308990ed24e0dc9ed2286",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0.9000",
      "date": "2026-10-09T02:32:56.000Z",
      "arch": "x86_64",
      "commit": "ccffa061baed8a71e3b3e75a5d94fc50681e656f",
      "fileid": "https://r2.ropensci.org/ae7ecaa52aa9fded8979cfc750f659c63c81809022646b618185132917c21da3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/37874630353"
    }
  ]
}