-
Notifications
You must be signed in to change notification settings - Fork 0
/
_targets.R
50 lines (29 loc) · 845 Bytes
/
_targets.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
################################################################################
#
# General Targets Workflow
#
################################################################################
## Load libraries and custom functions -----------------------------------------
suppressPackageStartupMessages(source("packages.R"))
for (f in list.files(here::here("R"), full.names = TRUE)) source (f)
## Create targets and list targets objects -------------------------------------
### Data targets
data_targets <- tar_plan(
)
### Processing targets
processing_targets <- tar_plan(
)
### Analysis targets
analysis_targets <- tar_plan(
)
### Output targets
output_targets <- tar_plan(
)
### Reporting targets
report_targets <- tar_plan(
)
### Deploy targets
deploy_targets <- tar_plan(
)
## List targets
all_targets()