Skip to content

liver

Toolkit and Datasets for Data Science

v1.29 · May 4, 2026 · GPL (>= 2)

Description

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.

Downloads

CRAN

633

Last 30 days

5437th

2.3K

Last 90 days

10.1K

Last year

Trend: +5.7% (30d vs prior 30d)

r2u CRAN

2

Last 30 days

68

Last 90 days

256

Last year

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

autoCRAN

2

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

38

Last 30 days

285

Last 90 days

372

Last year

Trend: -73.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 May 8, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,906

Files

102

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,115 (28.5%)Docs 2,663 (68.2%)Vignettes 128 (3.3%)

API

Exported functions

18

Internal functions

0

Recent export changes

v1.7+1 accuracy
v1.6+3 mae, kNN.plot, conf.mat.plot

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

77.8%

\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

3.5.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

30

First release

2020-08-18

Latest release

2026-05-04

Avg cadence

45 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v1.0: 731 LOCv1.1: 731 LOCv1.2: 918 LOCv1.3: 1,170 LOCv1.4: 1,208 LOCv1.5: 1,329 LOCv1.6: 1,593 LOCv1.7: 1,675 LOCv1.8: 1,697 LOCv1.9: 1,727 LOCv1.10: 1,856 LOCv1.11: 1,980 LOCv1.12: 1,954 LOCv1.13: 1,991 LOCv1.14: 1,993 LOCv1.15: 2,115 LOCv1.16: 2,115 LOCv1.17: 2,184 LOCv1.18: 2,188 LOCv1.19: 2,408 LOCv1.20: 2,672 LOCv1.21: 2,684 LOCv1.22: 2,679 LOCv1.23: 2,679 LOCv1.24: 2,679 LOCv1.25: 2,684 LOCv1.26: 3,151 LOCv1.27: 3,172 LOCv1.28: 3,808 LOCv1.29: 3,906 LOC

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

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies class ggplot2 SDI henna liver

Version History

31 tracked
updated 1.29 ← 1.28 diff May 4, 2026
updated 1.28 ← 1.27 diff Apr 7, 2026
new 1.27 Mar 10, 2026
updated 1.27 ← 1.26 diff Feb 17, 2026
updated 1.26 ← 1.25 diff Nov 25, 2025
updated 1.25 ← 1.24 diff Nov 13, 2025
updated 1.24 ← 1.23 diff Oct 23, 2025
updated 1.23 ← 1.22 diff Oct 4, 2025
updated 1.22 ← 1.21 diff Sep 26, 2025
updated 1.21 ← 1.20 diff Sep 7, 2025
updated 1.20 ← 1.19 diff Aug 20, 2025
updated 1.19 ← 1.18 diff Mar 17, 2025
updated 1.18 ← 1.17 diff Nov 21, 2024
updated 1.17 ← 1.16 diff Oct 27, 2024
updated 1.16 ← 1.15 diff Sep 4, 2024