DownloadThe Portobello Bookshop Gift Guide 2024

R Packages

A practical guide to creating reusable R packages

Hadley Wickham author

Format:Paperback

Publisher:O'Reilly Media

Published:28th Apr '15

Should be back in stock very soon

R Packages cover

This book teaches how to create R packages for sharing code effectively. R Packages offers practical guidance for developers and data scientists.

In R Packages, readers are guided through the process of transforming their R code into user-friendly packages that can be easily shared and utilized by others. The author, Hadley Wickham, introduces his philosophy of package development, emphasizing the importance of bundling reusable R functions, sample data, and comprehensive documentation. This practical approach not only enhances the usability of code but also encourages best practices among developers and data scientists alike.

The book offers a hands-on experience with essential tools such as devtools, roxygen, and testthat—key R packages designed to automate routine development tasks. By leveraging the insights gained from years of experience, Wickham provides readers with a clear understanding of how to effectively structure their packages. The focus is on the functional aspects of package development, allowing readers to prioritize their package's purpose over its structure.

As readers progress through R Packages, they will learn about critical components, including vignettes and unit tests, and discover strategies for automating various aspects of their development process. The book also covers best practices for submitting packages to the Comprehensive R Archive Network (CRAN) and offers valuable tips on maintaining a clean and organized coding style. With Wickham's guidance, developers of all backgrounds will find themselves better equipped to create and share their own R packages.

ISBN: 9781491910597

Dimensions: 232mm x 181mm x 12mm

Weight: 364g

202 pages