Datasets and Code Examples from P. J. Aphalo's "Learn R" Book
Overview
Data, scripts and code from chunks used as examples in the book "Learn R: As a Language" 1ed and 2ed by Pedro J. Aphalo. ISBN 9780367182533 (pbk 1ed); ISBN 9780367182557 (hbk 1ed); ISBN 9780429060342 (ebk 1ed).
Version at time of manuscript publication of 2nd edition.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-16
- WARNING12 OK, 1 WARNING2026-07-15
- OK14 OK2026-03-10
Documentation
- Help pages
- 13includes a package overview page
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- not tracked
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 31%
- User Guide HTML
Downloads
Repository
Stars over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/aphalo/learnrbook-pkg on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing learnrbook adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.0.1Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.2-12023-02-15 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.22021-07-04 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.12020-08-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.0.22017-05-13
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-05-13
- Total releases
- 5 / 9 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 678 KB / 4 files
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("learnrbook")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.