{
  "_id": "6a59de2809eb0996dd68ed89",
  "Package": "lorax",
  "Title": "Speak for the Trees",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Max\", \"Kuhn\", , \"max@posit.co\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2402-136X\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Extracts decision rules from tree- and rule-based models\nfitted in 'R'. Rules are expressed as logical predicates that\nidentify paths to terminal nodes, making model behavior more\ntransparent and interpretable. Provides conversion methods to\n'partykit' party objects for a wide range of model types. The\n'partykit' infrastructure is described in Hothorn and Zeileis\n(2015) <https://jmlr.org/papers/v16/hothorn15a.html>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/tidymodels/lorax, https://lorax.tidymodels.org/",
  "BugReports": "https://github.com/tidymodels/lorax/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/Needs/website": "tidyverse/tidytemplate, ranger, palmerpenguins,\ntidyr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2026-07-16 17:14:52 UTC",
  "RemoteUrl": "https://github.com/tidymodels/lorax",
  "RemoteRef": "HEAD",
  "RemoteSha": "3cb22416447339fc2af8521124bbed5afc046c46",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-17 07:43:48 UTC",
    "User": "root"
  },
  "Author": "Max Kuhn [aut, cre] (ORCID: <https://orcid.org/0000-0003-2402-136X>),\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Max Kuhn <max@posit.co>",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "lorax_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/87e3fdbdda2cda22831ecafad01b2ed901e8cbaf87477b499554c94284365f1a",
  "_filesize": 475070,
  "_sha256": "87e3fdbdda2cda22831ecafad01b2ed901e8cbaf87477b499554c94284365f1a",
  "_expires": "2026-10-25T07:47:51.000Z",
  "_created": "2026-07-17T07:43:48.000Z",
  "_published": "2026-07-17T07:47:52.921Z",
  "_jobs": [
    {
      "job": 87832516600,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8400452000"
    },
    {
      "job": 87832516561,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8400448643"
    },
    {
      "job": 87832516592,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8400420549"
    },
    {
      "job": 87832516533,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8400431596"
    },
    {
      "job": 87831817429,
      "time": 245,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8400380798"
    },
    {
      "job": 87832516531,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8400421016"
    },
    {
      "job": 87832516558,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8400431800"
    },
    {
      "job": 87832516611,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8400434187"
    },
    {
      "job": 87832516560,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8400431597"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804",
  "_status": "success",
  "_upstream": "https://github.com/tidymodels/lorax",
  "_commit": {
    "id": "3cb22416447339fc2af8521124bbed5afc046c46",
    "author": "Max Kuhn <mxkuhn@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Pre-CRAN (#18)\n\n* pre-cran changes\n\n* small updates\n\n* topepo -> tidymodels\n\n* update GHA\n\n* xgboost: Needs R >= 4.3.0\n\n* small updates\n\n* added skips for cran\n\n* constrain cores for CRAN\n\n* constrain cores for CRAN\n\n* attempts to control cpu usage\n\n* merge stashed changes\n\n* no Rplots.pdf file\n\n* touch to restart GHA\n\n* missing snapshots\n\n* hex logo",
    "time": 1784222092
  },
  "_maintainer": {
    "name": "Max Kuhn",
    "email": "max@posit.co",
    "login": "topepo",
    "orcid": "0000-0003-2402-136X",
    "description": "",
    "uuid": 5731043
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "aorsf",
      "role": "Suggests"
    },
    {
      "package": "C50",
      "role": "Suggests"
    },
    {
      "package": "Cubist",
      "role": "Suggests"
    },
    {
      "package": "dbarts",
      "role": "Suggests"
    },
    {
      "package": "grf",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lightgbm",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    }
  ],
  "_owner": "tidymodels",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-11",
      "n": 15
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 6
    },
    {
      "week": "2026-14",
      "n": 4
    },
    {
      "week": "2026-15",
      "n": 6
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "topepo",
      "count": 77,
      "uuid": 5731043
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels",
    "followers": 557
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lorax"
  },
  "_devurl": "https://github.com/tidymodels/lorax",
  "_pkgdown": "https://lorax.tidymodels.org/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lorax.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tidymodels/lorax",
  "_realowner": "tidymodels",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-16"
    }
  ],
  "_exports": [
    "active_predictors",
    "as.party",
    "combine_rule_elements",
    "extract_rules",
    "obliq_split_to_expr",
    "rect_split_to_expr",
    "rule_text",
    "var_imp"
  ],
  "_help": [
    {
      "page": "active_predictors",
      "title": "Extract the active features from a tree",
      "topics": [
        "active_predictors",
        "active_predictors.bart",
        "active_predictors.C5.0",
        "active_predictors.cforest",
        "active_predictors.cubist",
        "active_predictors.grf",
        "active_predictors.lgb.Booster",
        "active_predictors.ObliqueForest",
        "active_predictors.party",
        "active_predictors.randomForest",
        "active_predictors.ranger",
        "active_predictors.rpart",
        "active_predictors.xgb.Booster"
      ]
    },
    {
      "page": "as.party.bart",
      "title": "Convert BART model to party object",
      "topics": [
        "as.party.bart"
      ]
    },
    {
      "page": "as.party.C5.0",
      "title": "Convert C5.0 model to party object",
      "topics": [
        "as.party.C5.0"
      ]
    },
    {
      "page": "as.party.grf",
      "title": "Convert grf model to party object",
      "topics": [
        "as.party.grf"
      ]
    },
    {
      "page": "as.party.lgb.Booster",
      "title": "Convert lgb.Booster model to party object",
      "topics": [
        "as.party.lgb.Booster"
      ]
    },
    {
      "page": "as.party.randomForest",
      "title": "Convert randomForest model to party object",
      "topics": [
        "as.party.randomForest"
      ]
    },
    {
      "page": "as.party.ranger",
      "title": "Convert ranger model to party object",
      "topics": [
        "as.party.ranger"
      ]
    },
    {
      "page": "as.party.xgb.Booster",
      "title": "Convert xgb.Booster model to party object",
      "topics": [
        "as.party.xgb.Booster"
      ]
    },
    {
      "page": "combine_rule_elements",
      "title": "Combine multiple R expressions into a single composite expression",
      "topics": [
        "combine_rule_elements"
      ]
    },
    {
      "page": "extract_rules.bart",
      "title": "Extract rules from a BART model",
      "topics": [
        "extract_rules.bart"
      ]
    },
    {
      "page": "extract_rules",
      "title": "Extract an expression that defines a path to a terminal node",
      "topics": [
        "extract_rules",
        "extract_rules.C5.0",
        "extract_rules.cforest",
        "extract_rules.grf",
        "extract_rules.randomForest",
        "extract_rules.ranger"
      ]
    },
    {
      "page": "extract_rules.cubist",
      "title": "Extract rules from a Cubist model",
      "topics": [
        "extract_rules.cubist"
      ]
    },
    {
      "page": "extract_rules.lgb.Booster",
      "title": "Extract rules from an lgb.Booster model",
      "topics": [
        "extract_rules.lgb.Booster"
      ]
    },
    {
      "page": "extract_rules.ObliqueForest",
      "title": "Extract rules from an ObliqueForest model",
      "topics": [
        "extract_rules.ObliqueForest"
      ]
    },
    {
      "page": "extract_rules.party",
      "title": "Extract rules from a party object",
      "topics": [
        "extract_rules.party"
      ]
    },
    {
      "page": "extract_rules.rpart",
      "title": "Extract rules from an rpart model",
      "topics": [
        "extract_rules.rpart"
      ]
    },
    {
      "page": "extract_rules.xgb.Booster",
      "title": "Extract rules from an xgb.Booster model",
      "topics": [
        "extract_rules.xgb.Booster"
      ]
    },
    {
      "page": "obliq_split_to_expr",
      "title": "Convert an oblique split to an R expression",
      "topics": [
        "obliq_split_to_expr"
      ]
    },
    {
      "page": "rect_split_to_expr",
      "title": "Convert a rectangular split to an R expression",
      "topics": [
        "rect_split_to_expr"
      ]
    },
    {
      "page": "rule_text",
      "title": "Convert a rule expression to a readable text format",
      "topics": [
        "rule_text"
      ]
    },
    {
      "page": "lorax_var_imp",
      "title": "Tree Importance Scores",
      "topics": [
        "lorax_var_imp",
        "var_imp.cforest",
        "var_imp.grf",
        "var_imp.lgb.Booster",
        "var_imp.ObliqueForest",
        "var_imp.party",
        "var_imp.randomForest",
        "var_imp.ranger",
        "var_imp.rpart",
        "var_imp.xgb.Booster"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tidymodels/lorax/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tidymodels/lorax/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "Formula",
    "generics",
    "glue",
    "inum",
    "lattice",
    "libcoin",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "partykit",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "rpart",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.021189299069938,
  "_indexed": true,
  "_nocasepkg": "lorax",
  "_universes": [
    "tidymodels",
    "topepo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-17T07:46:22.000Z",
      "distro": "resolute",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/39f6afaea024233b23b70f75a9dc91b4792f68f80d3bfec28da6f8af9a631a0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-17T07:46:15.000Z",
      "distro": "resolute",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/b45be934f1099e65deb889d7a32f0ebbc7f2b53c38101bf38c3d894ab6e2cc08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-17T07:45:19.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/5776fdf8d7adea90717791416a013ea43bd225405f5cfe5e112c6e168a5ab08d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-17T07:45:41.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/57c70a9fb902ce5449a9acea7fa41708cc89667944494c393488476f2ced511b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-17T07:46:03.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/ad43e75dfe1e4305e0b2c56a8aeef0addfb51bfd491b0818d25c6a7c8a7a1804",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-17T07:45:02.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/0da90886a26d5c942792b4e1cc137ac51626a122cab01329702b30bea9100a6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-17T07:45:13.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/05cf986eb2f11eb9bee0ccc62861e53a862008068d274f083c151dcc2b86b3ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-17T07:45:05.000Z",
      "commit": "3cb22416447339fc2af8521124bbed5afc046c46",
      "fileid": "https://r2.ropensci.org/f8236f7ede63b2b97ce0c6c6df8cd3b00d4a8e035417ca6571cf7533aed664c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/29563795804"
    }
  ]
}