{
  "_id": "6a104b0eacfb0bcc41c9fd50",
  "Package": "tidyrules",
  "Type": "Package",
  "Title": "Utilities to Retrieve Rulelists from Model Fits, Filter, Prune,\nReorder and Predict on Unseen Data",
  "Version": "0.2.7",
  "Authors@R": "c(\nperson(\"Srikanth\", \"Komala Sheshachala\", email = \"sri.teach@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Amith Kumar\", \"Ullur Raghavendra\", email = \"amith54@gmail.com\", role = c(\"aut\"))\n)",
  "Maintainer": "Srikanth Komala Sheshachala <sri.teach@gmail.com>",
  "Description": "Provides a framework to work with decision rules. Rules\ncan be extracted from supported models, augmented with (custom)\nmetrics using validation data, manipulated using standard\ndataframe operations, reordered and pruned based on a metric,\npredict on unseen (test) data. Utilities include; Creating a\nrulelist manually, Exporting a rulelist as a SQL case statement\nand so on. The package offers two classes; rulelist and ruleset\nbased on dataframe.",
  "URL": "https://github.com/talegari/tidyrules,\nhttps://talegari.github.io/tidyrules/",
  "BugReports": "https://github.com/talegari/tidyrules/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nlibx11-dev zlib1g-dev",
  "Repository": "https://talegari.r-universe.dev",
  "Date/Publication": "2025-02-04 18:26:21 UTC",
  "RemoteUrl": "https://github.com/talegari/tidyrules",
  "RemoteRef": "HEAD",
  "RemoteSha": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 08:02:22 UTC",
    "User": "root"
  },
  "Author": "Srikanth Komala Sheshachala [aut, cre],\nAmith Kumar Ullur Raghavendra [aut]",
  "MD5sum": "ac7810b2b4b7c55eb7ed95976de5167d",
  "_user": "talegari",
  "_type": "src",
  "_file": "tidyrules_0.2.7.tar.gz",
  "_fileid": "0cc67f4cf3b856a9924ab9749286f8ceeebc5869503764d90753f1ef44941a6c",
  "_filesize": 302042,
  "_sha256": "0cc67f4cf3b856a9924ab9749286f8ceeebc5869503764d90753f1ef44941a6c",
  "_created": "2026-05-10T08:02:22.000Z",
  "_published": "2026-05-22T12:24:46.068Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77378712988,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902171112"
    },
    {
      "job": 77378713074,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902171976"
    },
    {
      "job": 77378712879,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902164261"
    },
    {
      "job": 77378712854,
      "time": 143,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902167983"
    },
    {
      "job": 77378712784,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902154135"
    },
    {
      "job": 77378712494,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160395666"
    },
    {
      "job": 77378713068,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902168409"
    },
    {
      "job": 77378713440,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902168321"
    },
    {
      "job": 77378713002,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902172566"
    }
  ],
  "_buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/talegari/tidyrules",
  "_commit": {
    "id": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
    "author": "talegari <sri.teach@gmail.com>",
    "committer": "talegari <sri.teach@gmail.com>",
    "message": "rebuilt site with image white background image\n",
    "time": 1738693581
  },
  "_maintainer": {
    "name": "Srikanth Komala Sheshachala",
    "email": "sri.teach@gmail.com",
    "login": "talegari",
    "twitter": "@tALegar1",
    "uuid": 10041819
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.2",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "version": ">= 1.2.2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.3",
      "role": "Imports"
    },
    {
      "package": "generics",
      "version": ">= 0.1.3",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "version": ">= 2.3.1",
      "role": "Imports"
    },
    {
      "package": "tidytable",
      "version": ">= 0.11.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.14.6",
      "role": "Imports"
    },
    {
      "package": "DescTools",
      "version": ">= 0.99.54",
      "role": "Imports"
    },
    {
      "package": "MetricsWeighted",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "pheatmap",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "version": ">= 0.4.27",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.1",
      "role": "Imports"
    },
    {
      "package": "AmesHousing",
      "version": ">= 0.0.3",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8",
      "role": "Suggests"
    },
    {
      "package": "C50",
      "version": ">= 0.1.2",
      "role": "Suggests"
    },
    {
      "package": "Cubist",
      "version": ">= 0.2.2",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "version": ">= 1.2.2",
      "role": "Suggests"
    },
    {
      "package": "rpart.plot",
      "version": ">= 3.0.7",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "version": ">= 0.0.1",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.1",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "version": ">= 7.3.50",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "version": ">= 2.1.1",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 1.13",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "version": ">= 0.1.1",
      "role": "Suggests"
    }
  ],
  "_owner": "talegari",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "talegari",
      "count": 37,
      "uuid": 10041819
    },
    {
      "user": "uramith",
      "count": 4,
      "uuid": 13785269
    }
  ],
  "_userbio": {
    "uuid": 10041819,
    "type": "user",
    "name": "Srikanth K S",
    "description": "Explorations in causality, Interpretable Machine Learning, Statistics, geospatial analysis"
  },
  "_downloads": {
    "count": 300,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidyrules"
  },
  "_devurl": "https://github.com/talegari/tidyrules",
  "_pkgdown": "https://talegari.github.io/tidyrules/",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tidyrules.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/talegari/tidyrules",
  "_realowner": "talegari",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-06-14"
    },
    {
      "version": "0.1.3",
      "date": "2020-01-30"
    },
    {
      "version": "0.1.5",
      "date": "2020-06-04"
    },
    {
      "version": "0.2.7",
      "date": "2024-06-29"
    }
  ],
  "_exports": [
    "as_rulelist",
    "as_ruleset",
    "augment",
    "calculate",
    "convert_rule_flavor",
    "prune",
    "reorder",
    "set_keys",
    "set_validation_data",
    "tidy",
    "to_sql_case"
  ],
  "_help": [
    {
      "page": "as_rulelist",
      "title": "as_rulelist generic from tidyrules package",
      "topics": [
        "as_rulelist"
      ]
    },
    {
      "page": "as_rulelist.data.frame",
      "title": "as_rulelist method for a data.frame",
      "topics": [
        "as_rulelist.data.frame"
      ]
    },
    {
      "page": "as_ruleset",
      "title": "Get a ruleset from a rulelist",
      "topics": [
        "as_ruleset"
      ]
    },
    {
      "page": "augment",
      "title": "'augment' is re-export of generics::augment from tidyrules package",
      "topics": [
        "augment"
      ]
    },
    {
      "page": "augment.rulelist",
      "title": "Augment a rulelist",
      "topics": [
        "augment.rulelist"
      ]
    },
    {
      "page": "calculate",
      "title": "'calculate' is re-export of generics::calculate from tidyrules package",
      "topics": [
        "calculate"
      ]
    },
    {
      "page": "calculate.rulelist",
      "title": "'calculate' metrics for a rulelist",
      "topics": [
        "calculate.rulelist"
      ]
    },
    {
      "page": "convert_rule_flavor",
      "title": "Convert a R parsable rule to python/sql parsable rule",
      "concept": [
        "Auxiliary Rulelist Utility"
      ],
      "topics": [
        "convert_rule_flavor"
      ]
    },
    {
      "page": "package_tidyrules",
      "title": "'tidyrules'",
      "topics": [
        "tidyrules-package",
        "package_tidyrules",
        "tidyrules"
      ]
    },
    {
      "page": "plot.prune_rulelist",
      "title": "Plot method for 'prune_rulelist' class",
      "topics": [
        "plot.prune_rulelist"
      ]
    },
    {
      "page": "plot.rulelist",
      "title": "Plot method for rulelist",
      "topics": [
        "plot.rulelist"
      ]
    },
    {
      "page": "predict.rulelist",
      "title": "'predict' method for a rulelist",
      "topics": [
        "predict.rulelist"
      ]
    },
    {
      "page": "predict.ruleset",
      "title": "'predict' method for a ruleset",
      "topics": [
        "predict.ruleset"
      ]
    },
    {
      "page": "print.prune_rulelist",
      "title": "Print method for 'prune_rulelist' class",
      "topics": [
        "print.prune_rulelist"
      ]
    },
    {
      "page": "print.rulelist",
      "title": "Print method for rulelist class",
      "topics": [
        "print.rulelist"
      ]
    },
    {
      "page": "print.ruleset",
      "title": "Print method for ruleset class",
      "topics": [
        "print.ruleset"
      ]
    },
    {
      "page": "prune",
      "title": "'prune' is re-export of generics::prune from tidyrules package",
      "topics": [
        "prune"
      ]
    },
    {
      "page": "prune.rulelist",
      "title": "'prune' rules of a rulelist",
      "topics": [
        "prune.rulelist"
      ]
    },
    {
      "page": "reorder",
      "title": "reorder generic",
      "topics": [
        "reorder"
      ]
    },
    {
      "page": "reorder.rulelist",
      "title": "Reorder the rules/rows of a rulelist",
      "topics": [
        "reorder.rulelist"
      ]
    },
    {
      "page": "rulelist",
      "title": "Rulelist",
      "topics": [
        "rulelist"
      ]
    },
    {
      "page": "ruleset",
      "title": "Ruleset",
      "topics": [
        "ruleset"
      ]
    },
    {
      "page": "set_keys",
      "title": "Set keys for a rulelist",
      "concept": [
        "Core Rulelist Utility"
      ],
      "topics": [
        "set_keys"
      ]
    },
    {
      "page": "set_validation_data",
      "title": "Add 'validation_data' to a rulelist",
      "concept": [
        "Core Rulelist Utility"
      ],
      "topics": [
        "set_validation_data"
      ]
    },
    {
      "page": "tidy",
      "title": "'tidy' is re-export of generics::tidy from tidyrules package",
      "concept": [
        "Core Tidy Utility"
      ],
      "topics": [
        "tidy"
      ]
    },
    {
      "page": "tidy.C5.0",
      "title": "Get the rulelist from a C5 model",
      "concept": [
        "Core Tidy Utility"
      ],
      "topics": [
        "tidy.C5.0"
      ]
    },
    {
      "page": "tidy.constparty",
      "title": "Get the rulelist from a party model",
      "topics": [
        "tidy.constparty"
      ]
    },
    {
      "page": "tidy.cubist",
      "title": "Get the rulelist from a cubist model",
      "concept": [
        "Core Tidy Utility"
      ],
      "topics": [
        "tidy.cubist"
      ]
    },
    {
      "page": "tidy.rpart",
      "title": "Get the rulelist from a rpart model",
      "concept": [
        "Core Tidy Utility"
      ],
      "topics": [
        "tidy.rpart"
      ]
    },
    {
      "page": "to_sql_case",
      "title": "Extract SQL case statement from a rulelist",
      "concept": [
        "Auxiliary Rulelist Utility"
      ],
      "topics": [
        "to_sql_case"
      ]
    }
  ],
  "_readme": "https://github.com/talegari/tidyrules/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "bit",
    "bit64",
    "boot",
    "cellranger",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DescTools",
    "e1071",
    "Exact",
    "expm",
    "farver",
    "forcats",
    "Formula",
    "fs",
    "generics",
    "gld",
    "glue",
    "gtable",
    "haven",
    "hms",
    "httr",
    "inum",
    "jsonlite",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "lmom",
    "magrittr",
    "MASS",
    "Matrix",
    "MetricsWeighted",
    "mime",
    "mvtnorm",
    "openssl",
    "partykit",
    "pheatmap",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rootSolve",
    "rpart",
    "rstudioapi",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyselect",
    "tidytable",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_score": 3.9444826721501682,
  "_indexed": true,
  "_nocasepkg": "tidyrules",
  "_universes": [
    "talegari"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-05-10T08:04:48.000Z",
      "distro": "noble",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "31c7c53ae9dfdc97f2905b84ae8358cc1928e3ddca7efaaf400b82c1c637df2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-05-10T08:04:48.000Z",
      "distro": "noble",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "7f4c0d52cbfe20a1bf3f690a3307ab99673eac3677ee7272cf6788d4946e20d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-05-10T08:03:50.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "a03253acb599c777194ef506aa7c3dc27e81db89ca17d6e076468ce8824081a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-05-10T08:04:12.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "12501738593ea9f030589c6d6aeb2ba7bc999d9f6252774c7858e72614baabe0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-05-10T08:03:52.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "c08a64778bdc821e05875b6f7a8e474f10e96739603230030b362d2170bb19a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-05-10T08:03:42.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "66ab3a4e09c3e669815decf8cff9ad7b59d1b3a1066f245daf9521b8e3073b15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-05-10T08:04:37.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "dad27429c5203d6317280f15ad387b6a94e2eb78c4814079437dbe55465dacd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7",
      "date": "2026-05-22T12:24:25.000Z",
      "commit": "6201d86e9cf425d6b66d15aead7b9982f9e8a992",
      "fileid": "865fe8ffaf1ee33381fe8b564e395e645f279eccd73cbdc4aaa249ec991eb365",
      "status": "success",
      "buildurl": "https://github.com/r-universe/talegari/actions/runs/25623491606"
    }
  ]
}