R Packages, 2nd Edition

Organize, Test, Document, and Share Your Code


R Packages, 2nd Edition
R Packages, 2nd Edition
CC BY-NC-ND

Book Details

Authors Hadley Wickham, Jennifer Bryan
Publisher O'Reilly Media
Published 2023
Edition 2nd
Paperback 381 pages
Language English
ISBN-13 9781098134938, 9781098134945
ISBN-10 1098134931, 109813494X
License Creative Commons Attribution-NonCommercial-NoDerivatives

Book Description

Turn your R code into packages that others can easily install and use. With this fully updated edition, developers and data scientists will learn how to bundle reusable R functions, sample data, and documentation together by applying the package development philosophy used by the team that maintains the "tidyverse" suite of packages. In the process, you'll learn how to automate common development tasks using a set of R packages, including devtools, usethis, testthat, and roxygen2.

Authors Hadley Wickham and Jennifer Bryan from Posit (formerly known as RStudio) help you create packages quickly, then teach you how to get better over time. You'll be able to focus on what you want your package to do as you progressively develop greater mastery of the structure of a package.

With this book, you will:
- Learn the key components of an R package, including code, documentation, and tests
- Streamline your development process with devtools and the RStudio IDE
- Get tips on effective habits such as organizing functions into files
- Get caught up on important new features in the devtools ecosystem
- Learn about the art and science of unit testing, using features in the third edition of testthat
- Turn your existing documentation into a beautiful and user friendly website with pkgdown
- Gain an appreciation of the benefits of modern code hosting platforms, such as GitHub


This book is available under a Creative Commons Attribution-NonCommercial-NoDerivatives license (CC BY-NC-ND), which means that you are free to copy and distribute it, as long as you attribute the source, don't use it commercially, and don't create modified versions.

If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.

Download and Read Links

Share this Book

[localhost]# find . -name "*Similar_Books*"


Test-Driven Development with Python

Python Django JavaScript Selenium

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The re

Taking Kubernetes from Test to Production

Kubernetes

With Kubernetes came many new concepts, particularly around networking and traffic management. Alongside these new concepts were entirely new classes of tools, designed for ephemeral, containerized, and distributed application deployments. In particular, Ingress controllers and service meshes did not exist prior to the Kubernetes era. Nor were Laye

Marketing and Advertising Using Google

Google

The official book from Google for students preparing for careers in marketing. Learn to: Create effective Internet advertising, target advertising to people when they're ready to buy, control you advertising budget, and build your brand.

IPython Interactive Computing and Visualization Cookbook, 2nd Edition

Python Pandas R

Python is one of the leading open source platforms for data science and numerical computing. IPython and the associated Jupyter Notebook offer efficient interfaces to Python for data analysis and interactive visualization, and they constitute an ideal gateway to the platform. IPython Interactive Computing and Visualization Cookbook, 2nd Edition con

Eloquent JavaScript, 3rd Edition

JavaScript

JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revised

Operating Systems and Middleware

C / C++

The scenario describes a user sitting down at a computer to check email. One of the messages includes an attached document to be edited. The user clicks the attachment, and it opens in another window. After starting to edit the document, the user realizes they need to leave for a trip. They save the document in its partially edited state and shut d