Skip to content

Commit 4893ce0

Browse files
committed
Merge branch 'refactor-mh' of github.com:Public-Health-Scotland/source-linkage-files into refactor-mh
2 parents c3abba0 + cf37769 commit 4893ce0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

SDL_process/dummy_targets.R

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ BYOC_MODE <- dplyr::case_when(
2626
TRUE ~ NA
2727
)
2828

29-
run_id = Sys.getenv("run_id")
30-
run_date_time = Sys.getenv("run_date_time")
31-
denodo_dsn = Sys.getenv("denodo_dsn")
29+
run_id <- Sys.getenv("run_id")
30+
run_date_time <- Sys.getenv("run_date_time")
31+
denodo_dsn <- Sys.getenv("denodo_dsn")
3232

3333

3434
if (isTRUE(BYOC_MODE)) {
@@ -74,13 +74,11 @@ tar_option_set(
7474
controller = controller
7575
)
7676

77-
years_to_run = "1920"
77+
years_to_run <- "1920"
7878

7979
# Stage 2 - Set up targets ----
8080
list(
81-
8281
tar_rds(write_to_disk, TRUE),
83-
8482
tar_map(
8583
list(year = years_to_run),
8684

@@ -143,4 +141,3 @@ list(
143141
)
144142

145143
## End of Targets pipeline ##
146-

0 commit comments

Comments
 (0)