{
  "_id": "6a1019b3acfb0bcc41c860c6",
  "Package": "rules",
  "Title": "Model Wrappers for Rule-Based Models",
  "Version": "1.0.2.9000",
  "Authors@R": "c(\nperson(\"Emil\", \"Hvitfeldt\", , \"emil.hvitfeldt@posit.co\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0679-1945\")),\nperson(\"Max\", \"Kuhn\", , \"max@posit.co\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-2402-136X\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Bindings for additional models for use with the 'parsnip'\npackage.  Models include prediction rule ensembles (Friedman\nand Popescu, 2008) <doi:10.1214/07-AOAS148>, C5.0 rules\n(Quinlan, 1992 ISBN: 1558602380), and Cubist (Kuhn and Johnson,\n2013) <doi:10.1007/978-1-4614-6849-3>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/tidymodels/rules, https://rules.tidymodels.org/",
  "BugReports": "https://github.com/tidymodels/rules/issues",
  "Config/Needs/website": "tidyr, tidyverse/tidytemplate, recipes, xrf",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-04-24",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2026-01-26 23:14:26 UTC",
  "RemoteUrl": "https://github.com/tidymodels/rules",
  "RemoteRef": "HEAD",
  "RemoteSha": "97996608dfb5aa2be189ae9c14302d5392662a8e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 15:32:32 UTC",
    "User": "root"
  },
  "Author": "Emil Hvitfeldt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0679-1945>),\nMax Kuhn [aut] (ORCID: <https://orcid.org/0000-0003-2402-136X>),\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
  "MD5sum": "19bf5240d475db29b128bdda0f75f3e0",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "rules_1.0.2.9000.tar.gz",
  "_fileid": "7b6e30b4f9d3063e4d5d6e2ec9079d4055264d1730ac31738ec916c8ee1568da",
  "_filesize": 181728,
  "_sha256": "7b6e30b4f9d3063e4d5d6e2ec9079d4055264d1730ac31738ec916c8ee1568da",
  "_created": "2026-05-14T15:32:32.000Z",
  "_published": "2026-05-22T08:54:11.981Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77347486026,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6998142666"
    },
    {
      "job": 77347485999,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6998143416"
    },
    {
      "job": 77347486094,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6998145010"
    },
    {
      "job": 77347486335,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6998130267"
    },
    {
      "job": 77347485777,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6998082888"
    },
    {
      "job": 77347485621,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156613983"
    },
    {
      "job": 77347486015,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6998123412"
    },
    {
      "job": 77347486264,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6998121257"
    },
    {
      "job": 77347486340,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6998118396"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tidymodels/rules",
  "_commit": {
    "id": "97996608dfb5aa2be189ae9c14302d5392662a8e",
    "author": "Max Kuhn <mxkuhn@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Pass objective as passible engine argument for rule_fit() (#96)\n\n",
    "time": 1769469266
  },
  "_maintainer": {
    "name": "Emil Hvitfeldt",
    "email": "emil.hvitfeldt@posit.co",
    "login": "emilhvitfeldt",
    "bluesky": "@emilhvitfeldt.bsky.social",
    "uuid": 14034784,
    "orcid": "0000-0002-0679-1945"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "parsnip",
      "version": ">= 1.0.3",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dials",
      "version": ">= 0.1.1.9001",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "generics",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "C50",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "Cubist",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "recipes",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "xrf",
      "version": ">= 0.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "tidymodels",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 42,
  "_contributors": [
    {
      "user": "topepo",
      "count": 143,
      "uuid": 5731043
    },
    {
      "user": "emilhvitfeldt",
      "count": 67,
      "uuid": 14034784
    },
    {
      "user": "simonpcouch",
      "count": 17,
      "uuid": 35748691
    },
    {
      "user": "juliasilge",
      "count": 11,
      "uuid": 12505835
    },
    {
      "user": "hfrick",
      "count": 6,
      "uuid": 12950918
    },
    {
      "user": "aluxh",
      "count": 1,
      "uuid": 1736667
    },
    {
      "user": "fvd",
      "count": 1,
      "uuid": 2441145
    },
    {
      "user": "gaborcsardi",
      "count": 1,
      "uuid": 660288
    },
    {
      "user": "jaredlander",
      "count": 1,
      "uuid": 628977
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels"
  },
  "_downloads": {
    "count": 3752,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rules"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/tidymodels/rules",
  "_pkgdown": "https://rules.tidymodels.org/",
  "_searchresults": 17472,
  "_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/rules.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tidymodels/rules",
  "_realowner": "tidymodels",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2020-05-20"
    },
    {
      "version": "0.0.2",
      "date": "2020-06-10"
    },
    {
      "version": "0.0.3",
      "date": "2020-10-02"
    },
    {
      "version": "0.1.0",
      "date": "2020-10-28"
    },
    {
      "version": "0.1.1",
      "date": "2021-01-16"
    },
    {
      "version": "0.1.2",
      "date": "2021-08-08"
    },
    {
      "version": "0.2.0",
      "date": "2022-03-14"
    },
    {
      "version": "1.0.0",
      "date": "2022-06-23"
    },
    {
      "version": "1.0.1",
      "date": "2023-01-17"
    },
    {
      "version": "1.0.2",
      "date": "2023-03-09"
    },
    {
      "version": "1.0.3",
      "date": "2026-01-27"
    }
  ],
  "_exports": [
    "c5_fit",
    "c5_pred",
    "committees",
    "cubist_fit",
    "get_neighbors",
    "max_rules",
    "mtry_prop",
    "multi_predict",
    "tidy",
    "tunable",
    "xrf_fit",
    "xrf_pred"
  ],
  "_help": [
    {
      "page": "committees",
      "title": "Parameter functions for Cubist models",
      "topics": [
        "committees",
        "max_rules"
      ]
    },
    {
      "page": "multi_predict",
      "title": "'multi_predict()' methods for rule-based models",
      "topics": [
        "multi_predict._cubist",
        "multi_predict._xrf"
      ]
    },
    {
      "page": "tidy.cubist",
      "title": "Turn C5.0 and rule-based models into tidy tibbles",
      "topics": [
        "tidy.C5.0",
        "tidy.cubist",
        "tidy.xrf"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tidymodels/rules/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tidymodels/rules/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "dials",
    "DiceDesign",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "hardhat",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "parsnip",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "sfd",
    "sparsevctrs",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 10.047309764344242,
  "_indexed": true,
  "_nocasepkg": "rules",
  "_universes": [
    "tidymodels",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:35:01.000Z",
      "distro": "noble",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "44eda960939622e75786d6a27ec1e7356a812f3fe14b56e6e855ec8f4968ef9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:35:03.000Z",
      "distro": "noble",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "d0194ba66186e2fb2ba18cb047915c924ac0b029d8ed0cf44444f044f344efbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:35:06.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "8900f80faaf8361afcac8f3a9e8084944ae203091dc294c8a41735f21188d253",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:34:32.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "4ff5042b6c62e62ab27eeb4ad397e8ed42e106d52511414cd48049dcbc0837ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:34:03.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "a21d097e0582bfc3dd05ed6f9fa36ff8ab32454d6fa458d57ee7f3158ff451d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:33:54.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "1e577dd495da522cf3be8738cc069000d03216e6e68c04a7d16e4bfaf63628e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-14T15:33:50.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "be2a9c8a13460f7889f47d7e9c90a2fe484dd2a0276e871b087a1c571043636f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2.9000",
      "date": "2026-05-22T08:53:54.000Z",
      "commit": "97996608dfb5aa2be189ae9c14302d5392662a8e",
      "fileid": "6d32d92c3367deca931866aef9aa43ac86ebc4e64619bc0a016ef3e7c958e1c8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/25868923581"
    }
  ]
}