Du er ikke logget ind
Beskrivelse
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 testsStreamline your development process with devtools and the RStudio IDEGet tips on effective habits such as organizing functions into filesGet caught up on important new features in the devtools ecosystemLearn about the art and science of unit testing, using features in the third edition of testthatTurn your existing documentation into a beautiful and user friendly website with pkgdownGain an appreciation of the benefits of modern code hosting platforms, such as GitHub