R Packages

Organize, Test, Document, and Share Your Code

Paperback Engels 2015 1e druk 9781491910597
Dit product is niet leverbaar

Samenvatting

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 author Hadley Wickham’s package development philosophy. In the process, you’ll work with devtools, roxygen, and testthat, a set of R packages that automate common development tasks. Devtools encapsulates best practices that Hadley has learned from years of working with this programming language.

Ideal for developers, data scientists, and programmers with various backgrounds, this book starts you with the basics and shows you how to improve your package writing over time. You’ll learn to focus on what you want your package to do, rather than think about package structure.

- Learn about the most useful components of an R package, including vignettes and unit tests
- Automate anything you can, taking advantage of the years of development experience embodied in devtools
- Get tips on good style, such as organizing functions into files
- Streamline your development process with devtools
- Learn the best way to submit your package to the Comprehensive R Archive Network (CRAN)
- Learn from a well-respected member of the R community who created 30 R packages, including ggplot2, dplyr, and tidyr

Specificaties

ISBN13:9781491910597
Taal:Engels
Bindwijze:paperback
Aantal pagina's:182
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:31-3-2015

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Hadley Wickham

Hadley Wickham is Chief Scientist at RStudio, an Adjunct Professor at Stanford University and the University of Auckland, and a member of the R Foundation. He is the lead developer of the tidyverse, a collection of R packages, including ggplot2 and dplyr, designed to support data science. He is also the author of R for Data Science (with Garrett Grolemund), R Packages, and ggplot2: elegant graphics for data analysis.

Andere boeken door Hadley Wickham

Inhoudsopgave

Preface

Part 1: Getting Started
1. Introduction
2. Package structure

Part 2: Package components
3. R Code
4. Package Metadata
5. Object documentation
6. Vignettes: Long-From documentation
7. Testing
8. Namespace
9. External Data
10. Compiled code
11. Installed files
12. Other components

Part 3: Best practices
13. Git and GitHub
14. Automated checking
15. Releasing a Package

Index

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        R Packages