R Packages: Organize, Test, Document, and Share Your Code 2nd Edition
暫譯: R 套件:組織、測試、文件化及分享你的程式碼(第二版)
Wickham, Hadley, Bryan, Jenny
- 出版商: O'Reilly
- 出版日期: 2023-07-25
- 定價: $2,330
- 售價: 8.8 折 $2,050
- 語言: 英文
- 頁數: 381
- 裝訂: Quality Paper - also called trade paper
- ISBN: 109813494X
- ISBN-13: 9781098134945
-
相關分類:
GAN 生成對抗網絡、R 語言
立即出貨 (庫存 < 4)
買這商品的人也買了...
相關主題
商品描述
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
商品描述(中文翻譯)
將您的 R 代碼轉換為其他人可以輕鬆安裝和使用的套件。透過這本全面更新的版本,開發人員和數據科學家將學習如何將可重用的 R 函數、示例數據和文檔打包在一起,並應用由維護「tidyverse」套件組的團隊所使用的套件開發理念。在此過程中,您將學會如何使用一組 R 套件自動化常見的開發任務,包括 devtools、usethis、testthat 和 roxygen2。
來自 Posit(前身為 RStudio)的作者 Hadley Wickham 和 Jennifer Bryan 將幫助您快速創建套件,然後教您如何隨著時間的推移變得更好。您將能夠專注於您希望您的套件執行的功能,同時逐步掌握套件的結構。
通過這本書,您將:
- 學習 R 套件的關鍵組件,包括代碼、文檔和測試
- 使用 devtools 和 RStudio IDE 簡化您的開發過程
- 獲得有效習慣的提示,例如將函數組織到文件中
- 了解 devtools 生態系統中的重要新功能
- 學習單元測試的藝術和科學,使用 testthat 第三版中的功能
- 將您現有的文檔轉換為美觀且用戶友好的網站,使用 pkgdown
- 了解現代代碼托管平台(如 GitHub)的好處