
R Packages
Organize, Test, Document, and Share Your Code
O'Reilly (Publisher)
2nd Edition
Published on 27. June 2023
Book
Paperback/Softback
250 pages
978-1-0981-3494-5 (ISBN)
Description
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.
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.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Sebastopol
United States
Edition type
Revised edition
Dimensions
Height: 227 mm
Width: 179 mm
Thickness: 27 mm
Weight
685 gr
ISBN-13
978-1-0981-3494-5 (9781098134945)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions


Previous edition

Persons
Hadley Wickham is Chief Scientist at RStudio and a member of the R Foundation. He builds tools (both computational and cognitive) that make data science easier, faster, and more fun. His work includes packages for data science (ggplot2, dplyr, tidyr), data ingest (readr, readxl, haven), and principled software development (roxygen2, testthat, devtools). He is also a writer, educator, and frequent speaker promoting the use of R for data science. Learn more on his homepage, https: //hadley.nz/.