-
Notifications
You must be signed in to change notification settings - Fork 1
/
_drake.R
24 lines (17 loc) · 815 Bytes
/
_drake.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Load your packages, e.g. library(drake).
source("./packages.R")
## Load your R files
lapply(list.files("./R", full.names = TRUE), source)
## _drake.R must end with a call to drake_config().
## The arguments to drake_config() are basically the same as those to make().
drake_config(the_plan,
lock_envir = FALSE,
seed = 7302016,
prework = {
set_flextable_defaults(theme_fun = "theme_box")
rspec <- round_spec() %>%
round_using_magnitude(breaks = c(10, 100, Inf),
digits = c(2, 1, 0))
names(rspec) <- paste('table.glue', names(rspec), sep = '.')
options(rspec)
})