liver: Foundations Toolkit and Datasets for Data Science

Provides a collection of helper functions and illustrative datasets to support learning and teaching of data science with R. The package is designed as a companion to the book <https://book-data-science-r.netlify.app/>, making key data science techniques accessible to individuals with minimal coding experience. Functions include tools for data partitioning, performance evaluation, and data transformations (e.g., z-score and min-max scaling). The included datasets are curated to highlight practical applications in data exploration, modeling, and multivariate analysis. An early inspiration for the package came from an ancient Persian idiom about "eating the liver," symbolizing deep and immersive engagement with knowledge.

Version: 1.20
Depends: R (≥ 3.5.0)
Imports: class, ggplot2
Suggests: pROC, skimr, knitr, rmarkdown, data.table, mltools, forcats
Published: 2025-08-21
DOI: 10.32614/CRAN.package.liver
Author: Reza Mohammadi ORCID iD [aut, cre], Kevin Burke [aut]
Maintainer: Reza Mohammadi <a.mohammadi at uva.nl>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://book-data-science-r.netlify.app/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: liver results

Documentation:

Reference manual: liver.html , liver.pdf
Vignettes: Example for Data Analysis (source, R code)

Downloads:

Package source: liver_1.20.tar.gz
Windows binaries: r-devel: liver_1.19.zip, r-release: liver_1.19.zip, r-oldrel: liver_1.19.zip
macOS binaries: r-release (arm64): liver_1.19.tgz, r-oldrel (arm64): liver_1.19.tgz, r-release (x86_64): liver_1.19.tgz, r-oldrel (x86_64): liver_1.19.tgz
Old sources: liver archive

Linking:

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