Getting Started with R Packages-Introduction
Welcome to Building R Packages
()
Before You Start
Using Mac OS
Using Windows
Using Unix/Linux
Getting Started with R Packages-R Packages
R packages
Basic Structure of an R Package
DESCRIPTION File
NAMESPACE File
Namespace Function Notation
Loading and Attaching a Package Namespace
The R Sub-directory
The man Sub-directory
Summary
Getting Started with R Packages-The devtools package
The devtools package
Creating a Package
Other Functions
Documentation and Testing-Documentation
Documentation
Vignette's and README Files
Knitr / Markdown
Common knitr Options
Help Files and roxygen2
Common roxygen2 Tags
Documentation and Testing-Data Within a Package
Overview
Data for Demos
Internal Data
Data Packages
Summary
Documentation and Testing-Software Testing Framework for R Packages
Introduction
The testthat Package
Documentation and Testing-Passing CRAN checks
Passing CRAN Checks
Licensing, Version Control, and Software Design-Open Source Licensing
Overview
The General Public License
The MIT License
The CC0 License
Licensing, Version Control, and Software Design-Why Open Source?
Overview
Paying it Forward
Linus’s Law
Hiring
Summary
Licensing, Version Control, and Software Design-Version Control and GitHub
Introduction
git
Initializing a git repository
Committing
Browsing History
Linking local repo to GitHub repo
Syncing RStudio and GitHub
Issues
Pull Request
Merge Conflicts
Licensing, Version Control, and Software Design-Software Design and Philosophy
Introduction
The Unix Philosophy
Default Values
Naming Things
Playing Well With Others
Summary
Continuous Integration and Cross Platform Development-Continuous Integration
Overview
Web Services for Continuous Integration
Using Travis
Using AppVeyor
Summary
Continuous Integration and Cross Platform Development-Cross Platform Development
Introduction
Handling Paths
Saving Files & rappdirs
rappdirs
Options and Starting R
Package Installation
Environmental Attributes
Summary