My book on R was published on 28 July 2020. The R package ‘learnrbook’ available through CRAN contains data and the R code scripts and chunks from the book. I typeset the book using LaTeX and ‘knitr’. The book is available from the publisher through the book’s web page and from booksellers.
[July 2021] Only two small changes to the code chunks are needed to avoid deprecation messages from ‘tidyverse’ packages. The ‘learnrbook’ package (1.0.2) adds the R code for code chunks in the book as executable and editable .R files. Additional material related to ‘ggplot2’ is available in the vignettes of my packages ‘gginnards’, ‘ggpp’ and ‘ggpmisc’, all available through CRAN.
Reports of errors and suggestions for enhancements are welcome, preferably as Issues raised at https://github.com/aphalo/learnr-book-crc/issues; the source of the book is at https://github.com/aphalo/learnr-book-crc.