Cargando…

R packages /

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, r...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Wickham, Hadley (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, 2015.
Edición:First edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 i 4500
001 OR_ocn905902760
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |||||||||||
008 150331s2015 caua o 001 0 eng d
010 |a  2015472811 
040 |a N$T  |b eng  |e rda  |e pn  |c N$T  |d N$T  |d TEFOD  |d UMI  |d YDXCP  |d CUS  |d OCLCO  |d DEBBG  |d OCLCF  |d TEFOD  |d EBLCP  |d DEBSZ  |d IDEBK  |d CDX  |d COO  |d UPM  |d FEM  |d OCLCQ  |d VT2  |d HCO  |d CEF  |d NTG  |d WYU  |d UAB  |d AU@  |d UKAHL  |d ORZ  |d OCLCQ  |d OCLCO  |d OCLCQ  |d INARC  |d OCLCO 
019 |a 906133344  |a 908199813  |a 968031769  |a 969014537  |a 1008951627  |a 1066457772  |a 1103255510  |a 1129367244  |a 1152986779 
020 |a 9781491910566  |q (electronic bk.) 
020 |a 1491910569  |q (electronic bk.) 
020 |a 9781491910542  |q (electronic bk.) 
020 |a 1491910542  |q (electronic bk.) 
020 |a 1491910593 
020 |a 9781491910597 
020 |a 1336284617  |q (ebk) 
020 |a 9781336284616  |q (ebk) 
020 |a 9781491910580 
020 |a 1491910585 
020 |z 9781491910597 
029 1 |a AU@  |b 000056944561 
029 1 |a AU@  |b 000067094417 
029 1 |a AU@  |b 000070668207 
029 1 |a DEBBG  |b BV042683153 
029 1 |a DEBSZ  |b 446583588 
029 1 |a DEBSZ  |b 453342299 
035 |a (OCoLC)905902760  |z (OCoLC)906133344  |z (OCoLC)908199813  |z (OCoLC)968031769  |z (OCoLC)969014537  |z (OCoLC)1008951627  |z (OCoLC)1066457772  |z (OCoLC)1103255510  |z (OCoLC)1129367244  |z (OCoLC)1152986779 
037 |a D3C837F5-6E7F-4675-8896-AE9F66456DAE  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73.R3 
072 7 |a COM  |x 051010  |2 bisacsh 
082 0 4 |a 005.13  |2 23 
049 |a UAMI 
100 1 |a Wickham, Hadley,  |e author. 
245 1 0 |a R packages /  |c Hadley Wickham. 
246 1 |i Subtitle from cover:  |a Organize, test, document, and share your code 
250 |a First edition. 
264 1 |a Sebastopol, CA :  |b O'Reilly Media,  |c 2015. 
300 |a 1 online resource :  |b illustrations (chiefly color) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
500 |a Includes index. 
520 |a 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. 
588 0 |a Online resource; title from PDF title page (EBSCO, viewed April 1, 2015). 
505 0 |a Machine generated contents note: pt. I Getting Started -- 1. Introduction -- Philosophy -- Getting Started -- Conventions -- Colophon -- 2. Package Structure -- Naming Your Package -- Requirements for a Name -- Strategies for Creating a Name -- Creating a Package -- RStudio Projects -- What Is an RStudio Project File? -- What Is a Package? -- Source Packages -- Bundled Packages -- Binary Packages -- Installed Packages -- In-Memory Packages -- What Is a Library? -- pt. II Package Components -- 3.R Code -- R Code Workflow -- Organizing Your Functions -- Code Style -- Object Names -- Spacing -- Curly Braces -- Line Length -- Indentation -- Assignment -- Commenting Guidelines -- Top-Level Code -- Loading Code -- The R Landscape -- When You Do Need Side Effects -- S4 Classes, Generics, and Methods -- CRAN Notes -- 4. Package Metadata -- Dependencies: What Does Your Package Need? -- Versioning -- Other Dependencies -- Title and Description: What Does Your Package Do? -- Author: Who Are You? -- On CRAN -- License: Who Can Use Your Package? -- On CRAN -- Version -- Other Components -- 5. Object Documentation -- The Documentation Workflow -- Alternative Documentation Workflow -- Roxygen Comments -- Documenting Functions -- Documenting Datasets -- Documenting Packages -- Documenting Classes, Generics, and Methods -- S3 -- S4 -- RC -- Special Characters -- Do Repeat Yourself -- Inheriting Parameters from Other Functions -- Documenting Multiple Functions in the Same File -- Text Formatting Reference Sheet -- Character Formatting -- Links -- Lists -- Mathematics -- Tables -- 6. Vignettes: Long-Form Documentation -- Vignette Workflow -- Metadata -- Markdown -- Sections -- Lists -- Inline Formatting -- Tables -- Code -- Knitr -- Options -- Development Cycle -- Advice for Writing Vignettes -- Organization -- CRAN Notes -- Where to Go Next -- 7. Testing -- Test Workflow -- Test Structure -- Expectations -- Writing Tests -- What to Test -- Skipping a Test -- Building Your Own Testing Tools -- Test Files -- CRAN Notes -- 8. Namespace -- Motivation -- Search Path -- The NAMESPACE -- Workflow -- Exports -- S3 -- S4 -- RC -- Data -- Imports -- R Functions -- S3 -- S4 -- Compiled Functions -- 9. External Data -- Exported Data -- Documenting Datasets -- Internal Data -- Raw Data -- Other Data -- CRAN Notes -- 10.Compiled Code -- C++ -- Workflow -- Documentation -- Exporting C++ Code -- Importing C++ Code -- Best Practices -- C -- Getting Started with .Call() -- Getting Started with C() -- Workflow -- Exporting C Code -- Importing C Code -- Best Practices -- Debugging Compiled Code -- Makefiles -- Other Languages -- Licensing -- Development Workflow -- CRAN Issues -- 11. Installed Files -- Package Citation -- Other Languages -- 12. Other Components -- Demos -- pt. III Best Practices -- 13. Git and GitHub -- RStudio, Git, and GitHub -- Initial Setup -- Creating a Local Git Repository -- Seeing What's Changed -- Recording Changes -- Best Practices for Commits -- Ignoring Files -- Undoing Mistakes -- Synchronizing with GitHub -- Benefits of Using GitHub -- Working with Others -- Issues -- Branches -- Making a Pull Request -- Submitting a Pull Request to Another Repo -- Reviewing and Accepting Pull Requests -- Learning More -- 14. Automated Checking -- Workflow -- Checks -- Check Metadata -- Package Structure -- Description -- Namespace -- R Code -- Data -- Documentation -- Demos -- Compiled Code -- Tests -- Vignettes -- Checking After Every Commit with Travis -- Basic Config -- Other Uses -- 15. Releasing a Package -- Version Number -- Backward Compatibility -- The Submission Process -- Test Environments -- Check Results -- Reverse Dependencies -- CRAN Policies -- Important Files -- README.md -- README. Rmd -- NEWS.md -- Release -- On Failure -- Binary Builds -- Prepare for Next Version -- Publicizing Your Package -- Congratulations! 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a R (Computer program language) 
650 6 |a R (Langage de programmation) 
650 7 |a COMPUTERS  |x Programming Languages  |x General.  |2 bisacsh 
650 7 |a R (Computer program language)  |2 fast 
776 0 8 |i Print version:  |a Wickham, Hadley.  |t R packages.  |b First edition  |z 9781491910566  |w (OCoLC)905902760 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781491910580/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a Askews and Holts Library Services  |b ASKH  |n AH28540399 
938 |a Askews and Holts Library Services  |b ASKH  |n AH28402012 
938 |a Coutts Information Services  |b COUT  |n 31329959 
938 |a EBSCOhost  |b EBSC  |n 972511 
938 |a YBP Library Services  |b YANK  |n 12360622 
938 |a Internet Archive  |b INAR  |n rpackages0000wick 
994 |a 92  |b IZTAP