From a61f166012bf24c8ffa0ef08f58c67914ecabc33 Mon Sep 17 00:00:00 2001 From: hadley Date: Thu, 21 Jan 2016 07:13:31 -0600 Subject: [PATCH] Load magrittr --- robust-code.Rmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/robust-code.Rmd b/robust-code.Rmd index 9be2af0..152c577 100644 --- a/robust-code.Rmd +++ b/robust-code.Rmd @@ -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.)