R Packages: Organize, Test, Document, and Share Your Code, 2nd Edition
- Length: 361 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2023-07-25
- ISBN-10: 109813494X
- ISBN-13: 9781098134945
- Sales Rank: #1115623 (See Top 100 Books)
Turn your R code into packages that others can easily download and use. This practical book shows you how to bundle reusable R functions, sample data, and documentation together by applying the package development philosophy used in the package known as the tidyverse (and beyond). In the process, you’ll work with devtools, usethis, roxygen2, and testthat, a set of R packages that automate common development tasks.
Ideal for developers and data scientists, this book gets you creating packages ASAP, then shows you how to get progressively better over time. You’ll learn to focus on what you want your package to do, rather than thinking about package structure.
- Learn the key components of an R package, including code, documentation, and tests.
- Get tips on good style, such as organizing functions into files.
- Streamline your development process with usethis, devtools, and RStudio.
- Create high quality packages by combining unit tests and continuous integration on GitHub.
- Maximize your chances of a positive CRAN submission.
- Turn your existing documentation into a beautiful and user friendly website with pkgdown.
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: R Packages: Organize, Test, Document, and Share Your Code, 2nd Edition
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.