Hello,
future::availableCores() is a re-export of parallelly::availableCores() since 2020. My plan is to eventually remove it from the future package. When you have time, please update your package to use parallelly::availableCores() instead of future::availableCores() in:
|
if(is.null(n_cores)) n_cores <- future::availableCores() - 1 |
I also recommend replacing with:
if(is.null(n_cores)) n_cores <- parallelly::availableCores(omit = 1)
See https://parallelly.futureverse.org/reference/availableCores.html?q=availableCores%20omit#avoid-ending-up-with-zero-cores for a motivation.
Hello,
future::availableCores()is a re-export ofparallelly::availableCores()since 2020. My plan is to eventually remove it from the future package. When you have time, please update your package to useparallelly::availableCores()instead offuture::availableCores()in:readsdr/R/simulators.R
Line 196 in 5cba7ef
I also recommend replacing with:
See https://parallelly.futureverse.org/reference/availableCores.html?q=availableCores%20omit#avoid-ending-up-with-zero-cores for a motivation.