Skip to content

Commit

Permalink
Fix #455
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jul 4, 2018
1 parent 5364290 commit 95d3f95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/make.R
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ make_imports <- function(config = drake::read_drake_config()){
#' })
#' }
make_targets <- function(config = drake::read_drake_config()){
config$schedule <- targets_graph(config = config)
up_to_date <- outdated(config, do_prework = FALSE, make_imports = FALSE) %>%
setdiff(x = config$plan$target)
config$schedule <- targets_graph(config = config) %>%
igraph::delete_vertices(v = up_to_date)
config$jobs <- targets_setting(config$jobs)
config$parallelism <- targets_setting(config$parallelism)
run_parallel_backend(config = config)
Expand Down

0 comments on commit 95d3f95

Please sign in to comment.