R Packages: Organize, Test, Document, and Share Your Code 2nd Edition

Wickham, Hadley, Bryan, Jenny

  • 出版商: O'Reilly
  • 出版日期: 2023-07-25
  • 定價: $2,330
  • 售價: 9.5$2,214
  • 貴賓價: 9.0$2,097
  • 語言: 英文
  • 頁數: 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 程式碼轉換為其他人可以輕鬆安裝和使用的套件。這本全新更新的書籍將教導開發人員和資料科學家如何應用「tidyverse」套件系列維護團隊所使用的套件開發理念,將可重複使用的 R 函數、範例資料和文件一起打包。在此過程中,您將學習如何使用一組 R 套件(包括 devtools、usethis、testthat 和 roxygen2)自動化常見的開發任務。

作者 Hadley Wickham 和 Jennifer Bryan 來自 Posit(前身為 RStudio),他們將協助您快速建立套件,並教導您如何逐漸提升技能。隨著對套件結構的更深入瞭解,您將能夠專注於您希望套件實現的功能。

這本書將讓您:
- 瞭解 R 套件的關鍵組件,包括程式碼、文件和測試
- 使用 devtools 和 RStudio IDE 簡化開發流程
- 獲得有關有效習慣的提示,例如將函數組織到檔案中
- 瞭解 devtools 生態系統中的重要新功能
- 學習有關單元測試的藝術和科學,使用 testthat 的第三版功能
- 將現有文件轉換為美觀且使用者友好的網站,使用 pkgdown
- 瞭解現代程式碼託管平台(如 GitHub)的好處