@@ -8,7 +8,6 @@ crew_init <- function(
88 seconds_meta_append = 0 ,
99 seconds_meta_upload = 15 ,
1010 seconds_reporter = 0 ,
11- garbage_collection = FALSE ,
1211 envir = tar_option_get(" envir" ),
1312 controller = NULL ,
1413 terminate_controller = TRUE
@@ -23,7 +22,6 @@ crew_init <- function(
2322 seconds_meta_append = seconds_meta_append ,
2423 seconds_meta_upload = seconds_meta_upload ,
2524 seconds_reporter = seconds_reporter ,
26- garbage_collection = garbage_collection ,
2725 envir = envir ,
2826 controller = controller ,
2927 terminate_controller = terminate_controller
@@ -40,7 +38,6 @@ crew_new <- function(
4038 seconds_meta_append = NULL ,
4139 seconds_meta_upload = NULL ,
4240 seconds_reporter = NULL ,
43- garbage_collection = NULL ,
4441 envir = NULL ,
4542 controller = NULL ,
4643 terminate_controller = NULL
@@ -55,7 +52,6 @@ crew_new <- function(
5552 seconds_meta_append = seconds_meta_append ,
5653 seconds_meta_upload = seconds_meta_upload ,
5754 seconds_reporter = seconds_reporter ,
58- garbage_collection = garbage_collection ,
5955 envir = envir ,
6056 controller = controller ,
6157 terminate_controller = terminate_controller
@@ -80,7 +76,6 @@ crew_class <- R6::R6Class(
8076 seconds_meta_append = NULL ,
8177 seconds_meta_upload = NULL ,
8278 seconds_reporter = NULL ,
83- garbage_collection = NULL ,
8479 envir = NULL ,
8580 controller = NULL ,
8681 terminate_controller = NULL
@@ -95,7 +90,6 @@ crew_class <- R6::R6Class(
9590 seconds_meta_append = seconds_meta_append ,
9691 seconds_meta_upload = seconds_meta_upload ,
9792 seconds_reporter = seconds_reporter ,
98- garbage_collection = garbage_collection ,
9993 envir = envir
10094 )
10195 self $ controller <- controller
@@ -136,9 +130,6 @@ crew_class <- R6::R6Class(
136130 return ()
137131 }
138132 # nocov end
139- if (self $ garbage_collection ) {
140- gc()
141- }
142133 self $ ensure_exports()
143134 command <- quote(
144135 targets :: target_run_worker(
@@ -262,7 +253,6 @@ crew_class <- R6::R6Class(
262253 names = self $ names ,
263254 queue = self $ queue ,
264255 reporter = self $ reporter ,
265- garbage_collection = self $ garbage_collection ,
266256 seconds_meta_append = self $ seconds_meta_append ,
267257 seconds_meta_upload = self $ seconds_meta_upload ,
268258 seconds_reporter = self $ seconds_reporter ,
0 commit comments