-
Notifications
You must be signed in to change notification settings - Fork 758
Home
hadley edited this page Jan 21, 2013
·
86 revisions
Making reusable code
- Functional programming
-
- Objected oriented programming
- The S3 object system
- The S4 object system
- Reference based classes
- Software systems
- Advanced programming techniques
- Performant code
Packages are the fundamental unit of reproducible R code. They include reusable R functions, the documentation that describes how to use them, and sample data. In this section you'll learn how to turn your code into packages that others can easily download and use. Writing a package can seem overwhelming at first, but start with the basics and then improve it over time. It doesn't matter if your first version isn't perfect as long as the next version is better.
- Philosophy
- Package basics
- Development
- Documenting packages
- Documenting functions
- Testing
- Good code style
- Namespaces, to minimise conflict with other packages
- Source code control: git + github
- Ready for release