Closed DavisVaughan closed 3 years ago
i.e. this warning changed in dev lifecycle so we need to use something more robust to test against
test_that("can use deprecated `future_options()`", { expect_identical( expect_deprecated( future_options(), "`future_options[(][)]` is deprecated as of furrr 0.2.0" ), furrr_options() ) expect_identical( expect_deprecated( future_options(globals = "x", packages = "dplyr", seed = 1, lazy = TRUE, scheduling = 2) ), furrr_options(globals = "x", packages = "dplyr", seed = 1, lazy = TRUE, scheduling = 2) ) })
78e72ba2ffbdd71bcee2d7cf0c03e1168ee227e4
i.e. this warning changed in dev lifecycle so we need to use something more robust to test against