{
  "_id": "6ae0bfe73d0f299392dcdf24",
  "Package": "lorax",
  "Title": "Speak for the Trees",
  "Version": "0.1.0.9000",
  "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.1.0",
  "Config/Needs/website": "tidyverse/tidytemplate, ranger, palmerpenguins,\ntidyr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2026-10-27 12:00:22 UTC",
  "RemoteUrl": "https://github.com/tidymodels/lorax",
  "RemoteRef": "HEAD",
  "RemoteSha": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-27 15:01:14 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.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/0d7dcc7a77f728d47c92a46d2a26da3b1878bb37bf5aad2907d7a91a993e5098",
  "_filesize": 533214,
  "_sha256": "0d7dcc7a77f728d47c92a46d2a26da3b1878bb37bf5aad2907d7a91a993e5098",
  "_expires": "2027-02-04T15:14:45.000Z",
  "_created": "2026-10-27T15:01:14.000Z",
  "_published": "2026-10-27T15:14:47.037Z",
  "_upstream": "https://github.com/tidymodels/lorax",
  "_status": "success",
  "_maintainer": {
    "name": "Max Kuhn",
    "email": "max@posit.co",
    "login": "topepo",
    "orcid": "0000-0003-2402-136X",
    "description": "",
    "uuid": 5731043
  },
  "_jobs": [
    {
      "job": 122268802104,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12744985588"
    },
    {
      "job": 122268802432,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12743404473"
    },
    {
      "job": 122268802166,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12744259417"
    },
    {
      "job": 122268802495,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12744589406"
    },
    {
      "job": 122264106830,
      "time": 472,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12744552368"
    },
    {
      "job": 122268802155,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12744911283"
    },
    {
      "job": 122268802313,
      "time": 163,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12744712409"
    },
    {
      "job": 122268802275,
      "time": 206,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12743817980"
    },
    {
      "job": 122268802473,
      "time": 182,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12743668056"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462",
  "_commit": {
    "id": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
    "author": "Max Kuhn <mxkuhn@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "add S3 methods for tidymodels objects (#25)\n\n* add S3 methods for tidymodels objects\n\n* fix some sloppy code",
    "time": 1793102422
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "hardhat",
      "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": "baguette",
      "role": "Suggests"
    },
    {
      "package": "C50",
      "role": "Suggests"
    },
    {
      "package": "catboost",
      "role": "Suggests"
    },
    {
      "package": "Cubist",
      "role": "Suggests"
    },
    {
      "package": "dbarts",
      "role": "Suggests"
    },
    {
      "package": "grf",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lightgbm",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "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": "workflows",
      "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
    },
    {
      "week": "2026-43",
      "n": 6
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "topepo",
      "count": 84,
      "uuid": 5731043
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels",
    "followers": 575
  },
  "_downloads": {
    "count": 183,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lorax"
  },
  "_devurl": "https://github.com/tidymodels/lorax",
  "_pkgdown": "https://lorax.tidymodels.org/",
  "_searchresults": 11,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lorax.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "num_ensemble_members",
    "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.bagger",
        "active_predictors.bart",
        "active_predictors.C5.0",
        "active_predictors.catboost.Model",
        "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.bagger",
      "title": "Convert a bagged tree to a party object",
      "topics": [
        "as.party.bagger"
      ]
    },
    {
      "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.catboost.Model",
      "title": "Convert catboost model to party object",
      "topics": [
        "as.party.catboost.Model"
      ]
    },
    {
      "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.bagger",
        "extract_rules.C5.0",
        "extract_rules.cforest",
        "extract_rules.grf",
        "extract_rules.randomForest",
        "extract_rules.ranger"
      ]
    },
    {
      "page": "extract_rules.catboost.Model",
      "title": "Extract rules from a catboost model",
      "topics": [
        "extract_rules.catboost.Model"
      ]
    },
    {
      "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": "num_ensemble_members",
      "title": "Count the number of members in an ensemble",
      "topics": [
        "num_ensemble_members",
        "num_ensemble_members.bagger",
        "num_ensemble_members.bart",
        "num_ensemble_members.C5.0",
        "num_ensemble_members.catboost.Model",
        "num_ensemble_members.cforest",
        "num_ensemble_members.cubist",
        "num_ensemble_members.grf",
        "num_ensemble_members.lgb.Booster",
        "num_ensemble_members.ObliqueForest",
        "num_ensemble_members.randomForest",
        "num_ensemble_members.ranger",
        "num_ensemble_members.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": "tidymodels-methods",
      "title": "Methods for tidymodels objects",
      "topics": [
        "active_predictors.model_fit",
        "active_predictors.workflow",
        "as.party.model_fit",
        "as.party.workflow",
        "extract_rules.model_fit",
        "extract_rules.workflow",
        "num_ensemble_members.model_fit",
        "num_ensemble_members.workflow",
        "tidymodels-methods",
        "var_imp.model_fit",
        "var_imp.workflow"
      ]
    },
    {
      "page": "lorax_var_imp",
      "title": "Tree Importance Scores",
      "topics": [
        "lorax_var_imp",
        "var_imp.catboost.Model",
        "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",
    "hardhat",
    "inum",
    "lattice",
    "libcoin",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "partykit",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "rpart",
    "sandwich",
    "sparsevctrs",
    "strucchange",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_score": 4.648847708372894,
  "_indexed": true,
  "_nocasepkg": "lorax",
  "_universes": [
    "tidymodels",
    "topepo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:03:50.000Z",
      "distro": "resolute",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/1e68d8e76846366a3e39601c6f8e77baf6a2cd22e907c868311bb21fe5382263",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:03:53.000Z",
      "distro": "resolute",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/aaebda03aba882c16d4000708c1764d540ae4ae7224faa2f99c55fbe4d8b5ab1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:12:13.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/b1f9654329d0a0ec65f1ba938fd1b559fe0c8f2f63cf4f07fe036a52a29d9ccc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:13:26.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/7c1fcf84f26c0f73a408c5cff8d853c84b4089b4616e2055faceb1d43e074b9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:03:50.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/617726861d26c59eb38e5c96ce0cb89ffe21ad05bb5c1c0e25fa56ce10863698",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:02:50.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/45230a3105986b985b7d9154ec67d9e060861799ce3e994328dc6d97e3d87430",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:03:33.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/23dd2f3ff52bcdecc471e2616422c826f4be475294e1983112d58ff4ae3879de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-27T15:02:58.000Z",
      "commit": "01b7875dadd8a4aae8b33ca70609f7ed0f9995da",
      "fileid": "https://r2.ropensci.org/a067c226685ed28fa5e6b59eaa32b144f636cd79e7ef0d7a46541fee0e31c7ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/40525530462"
    }
  ]
}