diff --git a/R/class_builder.R b/R/class_builder.R index 8d936019..df106942 100644 --- a/R/class_builder.R +++ b/R/class_builder.R @@ -140,7 +140,7 @@ target_run.tar_builder <- function(target, envir, path_store) { } on.exit(builder_unset_tar_runtime(), add = TRUE) on.exit(target$subpipeline <- NULL, add = TRUE) - if (identical(target$settings$retrieval, "worker")) { + if (!identical(target$settings$retrieval, "none")) { target_ensure_deps_worker(target, target$subpipeline) } frames <- frames_produce(envir, target, target$subpipeline)