diff --git a/DESCRIPTION b/DESCRIPTION index 6e7d5692..151a08b6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -60,6 +60,7 @@ Suggests: knitr (>= 1.30), markdown (>= 1.1), rmarkdown (>= 2.4), + secretbase (>= 1.0.0), testthat (>= 3.0.0) Encoding: UTF-8 Language: en-US diff --git a/tests/testthat/test-crew_controller_local.R b/tests/testthat/test-crew_controller_local.R index d487e7ff..972c77b9 100644 --- a/tests/testthat/test-crew_controller_local.R +++ b/tests/testthat/test-crew_controller_local.R @@ -115,13 +115,13 @@ crew_test("crew_controller_local()", { expect_false(exists(x = ".crew_y", envir = globalenv())) # package task x$push( - command = base64enc(arg), + command = secretbase::base64enc(arg), data = list(arg = "x"), packages = "nanonext" ) x$wait(seconds_timeout = 5) out <- x$pop() - expect_equal(out$result[[1]], nanonext::base64enc("x")) + expect_equal(out$result[[1]], secretbase::base64enc("x")) } # terminate handle <- x$launcher$workers$handle[[1]]