Skip to content

rules

1.0.3

Model Wrappers for Rule-Based Models

4packages depend
44Kdownloads / year
60.6%test coverage
13/13checks pass

Overview

About
Maintained by Emil HvitfeldtFirst published 2020-05-2011 releasesCRAN page ↗GitHub ↗

Bindings for additional models for use with the 'parsnip' package. Models include prediction rule ensembles (Friedman and Popescu, 2008) doi:10.1214/07-AOAS148, C5.0 rules (Quinlan, 1992 ISBN: 1558602380), and Cubist (Kuhn and Johnson, 2013) doi:10.1007/978-1-4614-6849-3.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.19
60.6%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 264 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
50%
Return-value docs
33%
References docs
0%

Downloads

44K
CRAN downloads in the past year
Rank #2,237 · ~121/day · ~3.7K/mo
Daily download trend is not available in this view yet.
2.3K30 days
8.9K90 days
44K1 year
Compare downloads with other packages →
Also on582 r2u15 autocran48 c2d4u

Repository

Repository
42Stars
7Forks
2Open issues
1Open PRs
10Releases
249Commits
10Contributors
249 commits · Last activity 2026-06-09 · 0% stars, 30d

Stars over time

2025-05-13 · 402026-07-07 · 42

Repository practices

Upstream repositoryBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/tidymodels/rules on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (2)
Codecov.covrignore
Governance and community (2)
Issue templatesSupport guide
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1parsnip
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 1.0.0
Authors (2)
Author, Maintainer · added in 1.0.0
Author
Copyright holders (1)
Copyright holder, Funder · added in 1.0.2
Funders (1)
Copyright holder, Funder · added in 1.0.2
Listed in earlier versions (2)
no longer listed · 0.0.1 to 1.0.0
no longer listed · 1.0.1
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3Latest
    2026-01-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2
    2023-03-09 · diff ↗
  • 1.0.1
    2023-01-17 · diff ↗
  • 1.0.0
    2022-06-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    2022-03-14 · diff ↗
  • 0.1.2
    2021-08-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    2021-01-16 · diff ↗
  • 0.1.0
    2020-10-28 · diff ↗
  • 0.0.3
    2020-10-02 · diff ↗
  • 0.0.2
    2020-06-10 · diff ↗
Show 2 earlier events
  • 0.0.1
    2020-05-20
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-05-20
Total releases
11 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
78 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rules")
Hvitfeldt, E., Posit Software, PBC, & Kuhn, M. (2026). rules: Model Wrappers for Rule-Based Models (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.rules

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rules version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy