{
  "_id": "6a101e19acfb0bcc41c8a875",
  "Type": "Package",
  "Package": "glex",
  "Title": "Global Explanations for Tree-Based Models",
  "Version": "0.5.2",
  "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/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://plantedml.r-universe.dev",
  "Date/Publication": "2026-04-22 13:08:54 UTC",
  "RemoteUrl": "https://github.com/PlantedML/glex",
  "RemoteRef": "HEAD",
  "RemoteSha": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 09:03:10 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>",
  "MD5sum": "2e372e064fbe9e33b6f113b0d8d179e5",
  "_user": "plantedml",
  "_type": "src",
  "_file": "glex_0.5.2.tar.gz",
  "_fileid": "321a020cb897a622fabb247efb85eea0ec0838a31f78f0da77788e9962c068cb",
  "_filesize": 807416,
  "_sha256": "321a020cb897a622fabb247efb85eea0ec0838a31f78f0da77788e9962c068cb",
  "_created": "2026-05-22T09:03:10.000Z",
  "_published": "2026-05-22T09:12:57.243Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77349322703,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7156854218"
    },
    {
      "job": 77349322721,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7156858914"
    },
    {
      "job": 77349322700,
      "time": 182,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156859009"
    },
    {
      "job": 77349322956,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156853877"
    },
    {
      "job": 77349322713,
      "time": 234,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156861088"
    },
    {
      "job": 77349322669,
      "time": 532,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156959660"
    },
    {
      "job": 77349322865,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156850448"
    },
    {
      "job": 77349322791,
      "time": 398,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156918313"
    },
    {
      "job": 77348480861,
      "time": 324,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156798086"
    },
    {
      "job": 77349322675,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156839599"
    },
    {
      "job": 77349322776,
      "time": 155,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7156850094"
    },
    {
      "job": 77349322741,
      "time": 153,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156848761"
    },
    {
      "job": 77349322661,
      "time": 151,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7156848059"
    }
  ],
  "_buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/PlantedML/glex",
  "_commit": {
    "id": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
    "author": "Jinyang Liu <jinyang.liu.jl@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #34 from PlantedML/fix-explain-supported-settings\n\nFix explain supported settings",
    "time": 1776863334
  },
  "_maintainer": {
    "name": "Marvin N. Wright",
    "email": "cran@wrig.de",
    "login": "mnwright",
    "orcid": "0000-0002-8542-6291",
    "description": "",
    "uuid": 9598192
  },
  "_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",
      "role": "Suggests"
    }
  ],
  "_owner": "plantedml",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    },
    {
      "week": "2025-23",
      "n": 8
    },
    {
      "week": "2026-17",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.5.2",
      "date": "2026-04-21"
    }
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "jemus42",
      "count": 85,
      "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"
  },
  "_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": 32,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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_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": "14.2.0-4ubuntu2~24.04.1",
      "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": 5.003460532109507,
  "_indexed": true,
  "_nocasepkg": "glex",
  "_universes": [
    "plantedml",
    "mnwright"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "75588419ebfb232d22b09bd82c7ab4cc06bab9b76cfdca5eb0f728455f2ea22b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "26a9becaacd9dacfb45cda042f1d2a89a38ec43816af744cc95cb1102ce1f708",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "dfd2eae352492db7faff8026f3b2adf0f8616ead59cc31b036206a004f74e601",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "2e2eafb63cbfc6b0d4c56bbdf93c12206a9b184651d8c1b67f4dfb1ea7950413",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:59.000Z",
      "arch": "aarch64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "aa402ab768e8462f2c6966778b9a54086dc5a352898ebe0d41f0ff834d622dd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-22T09:09:14.000Z",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "3fd6f3c75745a65827e320a0c256237fc057cdd8629edd9ed58894325cea8a1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:29.000Z",
      "arch": "aarch64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "f50f2c83f2c3f6aba858aa6b9986beaef219cea1286b8382cd9f244ac3ec5f5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-05-22T09:07:39.000Z",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "da695a224a128ff2b4f80f3a7a412b45bf756847e6fbe49a4ebb1f6f259c75a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-05-22T09:05:42.000Z",
      "arch": "emscripten",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "5c60e2531b5c8b0f8b1dc8409833d67391cbc786b959a668a7949b62ab032f47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-22T09:04:55.000Z",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "fa2fb6403d8d703d3343693a2049e0b80b17ea51baa5b797e89253ee0f54acfa",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-22T09:04:52.000Z",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "f3b458dd506a90c9fb5d3e688728e50d3e7658b33d00507c4c818d26b89f2a05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-05-22T09:04:56.000Z",
      "arch": "x86_64",
      "commit": "f2fd40abb76b46d3e183e46b3c194993e36ea5bc",
      "fileid": "d405ab13a38eb32dcf895d5bab0e2ca8910a03bdd6c83c0efac263d053ebbf61",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plantedml/actions/runs/26278463231"
    }
  ]
}