nuggets: Fast and Extensible Pattern Discovery in Tabular Data

Fast and extensible framework for discovering interesting patterns in tabular data. The package searches combinations of fuzzy or Boolean predicates and evaluates the resulting subgroups using statistical, logical, or structural measures. It supports a broad range of pattern-discovery tasks, including association rules (Agrawal et al., 1994, <https://www.vldb.org/conf/1994/P487.PDF>), contrast patterns (Chen, 2022, <doi:10.48550/arXiv.2209.13556>), emerging patterns (Dong et al., 1999, <doi:10.1145/312129.312191>), subgroup discovery (Atzmueller, 2015, <doi:10.1002/widm.1144>), and conditional correlations (Hájek, 1978, <doi:10.1007/978-3-642-66943-9>). User-defined functions may be supplied to guide custom pattern searches, making the framework applicable beyond traditional association-rule mining. Efficient implementation enables pattern discovery on large and dense data sets. Package includes methods for visualization and supports interactive exploration through integrated Shiny applications.

Version: 2.2.3
Depends: R (≥ 4.4.0)
Imports: classInt, cli, dplyr, fastmatch, generics, ggplot2, grid, lifecycle, methods, purrr, Rcpp, rlang, stats, stringr, tibble, tidyr, tidyselect, utils
LinkingTo: cli, Rcpp, testthat
Suggests: arules, DT, htmltools, htmlwidgets, jsonlite, kableExtra, patchwork, shiny, shinyjs, shinyWidgets, testthat (≥ 3.0.0), xml2, withr, knitr, rmarkdown
Published: 2026-08-20
DOI: 10.32614/CRAN.package.nuggets
Author: Michal Burda ORCID iD [aut, cre]
Maintainer: Michal Burda <michal.burda at osu.cz>
BugReports: https://github.com/beerda/nuggets/issues
License: GPL (≥ 3)
Copyright: see file COPYRIGHTS
URL: https://beerda.github.io/nuggets/, https://github.com/beerda/nuggets
NeedsCompilation: yes
SystemRequirements: C++17
Language: en-US
Citation: nuggets citation info
Materials: README, NEWS
CRAN checks: nuggets results

Documentation:

Reference manual: nuggets.html , nuggets.pdf
Vignettes: Association Rules (source, R code)
Comparison of nuggets and arules performance (source, R code)
Conditional Correlations (source, R code)
Contrast Patterns (source, R code)
Custom Pattern Search with dig() (source, R code)
Data Preparation (source, R code)
nuggets: Get Started (source, R code)

Downloads:

Package source: nuggets_2.2.3.tar.gz
Windows binaries: r-devel: nuggets_2.2.2.zip, r-release: nuggets_2.2.2.zip, r-oldrel: nuggets_2.2.2.zip
macOS binaries: r-release (arm64): nuggets_2.2.3.tgz, r-oldrel (arm64): nuggets_2.2.3.tgz, r-release (x86_64): nuggets_2.2.3.tgz, r-oldrel (x86_64): nuggets_2.2.3.tgz
Old sources: nuggets archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nuggets to link to this page.