From d1eaf88c2a3b731cec2955caccc18e0afbc18e48 Mon Sep 17 00:00:00 2001 From: Ben Anderson <dataknut@icloud.com> Date: Sun, 15 Dec 2019 18:11:54 +0000 Subject: [PATCH] updated notes --- tests.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests.R b/tests.R index 920a40a..f0a5074 100644 --- a/tests.R +++ b/tests.R @@ -2,7 +2,7 @@ library(readr) library(dplyr) library(data.table) -library(drake) # don't use it? You should +library(drake) # don't use it? You should. You'll see why library(lubridate) library(hms) library(saveData) @@ -24,6 +24,9 @@ getFile <- function(f){ # drake plan ---- # this gets run once and only once +# drake does what's in the plan and only re-does it if something in +# the plan changes - such as the file to be loaded + plan <- drake::drake_plan( wHRawD = getFile(rawF), wHprocessedD = getFile(processedF) -- GitLab