Skip to content

Cubist

Rule- And Instance-Based Regression Modeling

v0.6.0 · Mar 2, 2026 · GPL-3

Description

Regression modeling using rules with added instance-based corrections.

Downloads

CRAN

16.9K

Last 30 days

893rd

62K

Last 90 days

343.1K

Last year

Trend: -14.2% (30d vs prior 30d)

r2u CRAN

100

Last 30 days

373

Last 90 days

999

Last year

Trend: -21.9% (30d vs prior 30d)

autoCRAN

18

Last 7 days

115

Last 30 days

3

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

conda-forge CRAN

297

Last 30 days

1.1K

Last 90 days

7.3K

Last year

Trend: -37.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘cubist.Rmd’ using rmarkdown

Quitting from cubist.Rmd:11-18 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `library()`:
!
...[truncated]...
ror: processing vignette 'cubist.Rmd' failed with diagnostics:
there is no package called 'rules'
--- failed re-building ‘cubist.Rmd’

SUMMARY: processing the following file failed:
  ‘cubist.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

18,482

Files

92

Compiled share

68%

Has compiled src

Yes

Language breakdown

R 1,795 (9.7%)C/C++/src 12,561 (68%)Tests 3,097 (16.8%)Docs 669 (3.6%)Vignettes 360 (1.9%)

API

Exported functions

6

Internal functions

22

Testing & CI

Has tests

Yes

Test-to-code ratio

1.73

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

24

First release

2011-04-26

Latest release

2026-03-02

Avg cadence

205 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v0.0.5: 15,816 LOCv0.0.6: 15,875 LOCv0.0.7: 15,612 LOCv0.0.8: 15,623 LOCv0.0.11: 15,608 LOCv0.0.12: 16,008 LOCv0.0.13: 16,053 LOCv0.0.15: 16,052 LOCv0.0.18: 16,075 LOCv0.0.19: 16,066 LOCv0.2.0: 14,997 LOCv0.2.1: 14,997 LOCv0.2.2: 14,997 LOCv0.2.3: 15,066 LOCv0.2.40: 15,198 LOCv0.3.0: 15,198 LOCv0.4.0: 15,197 LOCv0.4.1: 15,195 LOCv0.4.2: 15,276 LOCv0.4.2.1: 15,276 LOCv0.4.4: 15,271 LOCv0.5.0: 15,271 LOCv0.5.1: 15,274 LOCv0.6.0: 18,482 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (22)

Dependency Network

Dependencies Reverse dependencies lattice reshape2 LogisticEnsembles NumericEnsembles C50 MLSP dendroTools finnts geomod rminer tsensembler utsf caret caretForecast dissever imputeR mlr +7 more reverse deps Cubist

Version History

25 tracked
new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.1 diff Mar 1, 2026
updated 0.5.1 ← 0.5.0 diff Oct 24, 2025
updated 0.5.0 ← 0.4.4 diff Apr 2, 2025
updated 0.4.4 ← 0.4.2.1 diff Jul 1, 2024
updated 0.4.2.1 ← 0.4.2 diff Mar 8, 2023
updated 0.4.2 ← 0.4.1 diff Feb 7, 2023
updated 0.4.1 ← 0.4.0 diff Nov 8, 2022
updated 0.4.0 ← 0.3.0 diff Feb 4, 2022
updated 0.3.0 ← 0.2.40 diff May 27, 2021
updated 0.2.40 ← 0.2.3 diff May 9, 2021
updated 0.2.3 ← 0.2.2 diff Jan 9, 2020
updated 0.2.2 ← 0.2.1 diff May 20, 2018
updated 0.2.1 ← 0.2.0 diff Dec 1, 2017
updated 0.2.0 ← 0.0.19 diff Nov 27, 2017