You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which was deprecated in future 1.20.0 (2020-10-30), in favor of explicitly specifying either 'multisession' or 'multicore', cf. futureverse/future#420.
I recommend that you replace that line with just:
plan(multisession)
Note also, when using workers = availableCores() - 1, there you'll get workers == 0 on a machine that runs the test on a single core. I don't think CRAN ever does that, but if they'd do, your package would produce an error. Because of this, I recommend to use the default, which equals workers = availableCores(), which in turn becomes workers = 2 whenever R CMD check is running (to meet the CRAN policies).
The text was updated successfully, but these errors were encountered:
In your package test, you use the 'multiprocess' backend:
FAMoS/tests/testthat/test.example.R
Line 4 in 7457483
which was deprecated in future 1.20.0 (2020-10-30), in favor of explicitly specifying either 'multisession' or 'multicore', cf. futureverse/future#420.
I recommend that you replace that line with just:
plan(multisession)
Note also, when using
workers = availableCores() - 1
, there you'll getworkers == 0
on a machine that runs the test on a single core. I don't think CRAN ever does that, but if they'd do, your package would produce an error. Because of this, I recommend to use the default, which equalsworkers = availableCores()
, which in turn becomesworkers = 2
wheneverR CMD check
is running (to meet the CRAN policies).The text was updated successfully, but these errors were encountered: