-
Notifications
You must be signed in to change notification settings - Fork 755
Home
(Making reproducible code)
In the following pages I try and explain how fundamental R components work, taking the R language definition and making it easier to understand with plenty of examples to illustrate each idea. These tools are important because they allow to identify and reduce duplication in a wider variety of settings.
- Functional programming
- Objected oriented programming
- Advanced programming techniques
- Performant code
These sections are designed to be a primer for the more technical descriptions available in the R language definition and software for data analysis.
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
- Documentation at both the function and package levels
- Testing
- Good code style
- Namespaces, to minimise conflict with other packages
- Source code control: git + github
- Ready for release
- Introduction to markdown
- Basics
- Vocabulary