diff --git a/tests/hpc/test-clustermq_sge.R b/tests/hpc/test-clustermq_sge.R index a1cd6ad0d..13658953d 100644 --- a/tests/hpc/test-clustermq_sge.R +++ b/tests/hpc/test-clustermq_sge.R @@ -282,7 +282,9 @@ test_that("2 cores (unstructured resources)", { clustermq.scheduler = "sge", clustermq.template = "sge_clustermq.tmpl" ) - resources <- list(cores = 2) + resources <- tar_resources( + clustermq = tar_resources_clustermq(template = list(cores = 2)) + ) suppressWarnings(tar_option_set(resources = resources)) suppressWarnings( tar_target(x, {