Skip to product information
1 of 1

Hadley Wickham,Jenny Bryan

R Packages: Organize, Test, Document, and Share Your Code

R Packages: Organize, Test, Document, and Share Your Code

Low Stock: Only 3 copies remaining
Regular price £36.56 GBP
Regular price £52.99 GBP Sale price £36.56 GBP
31% OFF Sold out
Tax included. Shipping calculated at checkout.

YOU SAVE £16.43

  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
Trustpilot 4.5 stars rating  Excellent
We're rated excellent on Trustpilot.
  • More about R Packages: Organize, Test, Document, and Share Your Code


This book teaches you how to create R packages that are easy to download and use, ideal for developers and data scientists. It covers key components such as code, documentation, and tests, and provides tips on good style and development process. It also uses popular R packages like usethis, devtools, and RStudio to streamline the process.

Format: Paperback / softback
Length: 250 pages
Publication date: 27 June 2023
Publisher: O'Reilly Media


This comprehensive guide teaches you how to transform your R code into easily downloadable packages that others can utilize. By adopting the principles of package development, you'll learn to bundle reusable R functions, sample data, and comprehensive documentation together. You'll explore the power of devtools, usethis, roxygen2, and testthat, a set of R packages that automate various development tasks. Whether you're a developer or data scientist, this book will help you get started with package creation right away, while also guiding you toward improving your skills over time.

You'll discover the essential components of an R package, including code, documentation, and tests. You'll also receive valuable tips on maintaining good style, such as organizing functions into separate files. Streamline your development process with usethis, devtools, and RStudio, and enhance the quality of your packages by incorporating unit tests and continuous integration on GitHub. Increase your chances of a successful CRAN submission by following best practices.

Moreover, this guide empowers you to transform your existing documentation into a visually appealing and user-friendly website using pkgdown. Embrace the power of packaging and share your R expertise with the world by making your code more accessible and reusable.


Dimension: 233 x 178 (mm)
ISBN-13: 9781098134945
Edition number: 2 Revised edition

This item can be found in:

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details