Load magrittr

This commit is contained in:
hadley 2016-01-21 07:13:31 -06:00
parent 9137dd91b5
commit a61f166012
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ layout: default
title: Robust code
---
```{r, include = FALSE}
library(magrittr)
```
## Robust code
(This is an advanced topic. You shouldn't worry too much about it when you first start writing functions. Instead you should focus on getting a function that works right for the easiest 80% of the problem. Then in time, you'll learn how to get to 99% with minimal extra effort. The defaults in this book should steer you in the right direction: we avoid teaching you functions with major suprises.)