I'm trying to follow the targets manual section about heterogeneous workers (https://books.ropensci.org/targets/crew.html#heterogeneous-workers) and can't get a tar_terra_rast() target to override the default crew controller set in tar_option_set(). It works with a normal tar_target() however. I suspect this is because the resources argument to tar_terra_rast() is not passed to targets::tar_target_raw(), rather it is overwritten with targets::tar_resources(custom_format = targets::tar_resources_custom_format(.... Need to find a way to append resources input by users.
I'm trying to follow the
targets
manual section about heterogeneous workers (https://books.ropensci.org/targets/crew.html#heterogeneous-workers) and can't get atar_terra_rast()
target to override the default crew controller set intar_option_set()
. It works with a normaltar_target()
however. I suspect this is because theresources
argument totar_terra_rast()
is not passed totargets::tar_target_raw()
, rather it is overwritten withtargets::tar_resources(custom_format = targets::tar_resources_custom_format(...
. Need to find a way to append resources input by users.