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:
https://github.com/ipeaGIT/uci/blob/313d01efc8735594d097b4be9358e5635985bc08/R/uci.R#L100
https://github.com/ipeaGIT/uci/blob/313d01efc8735594d097b4be9358e5635985bc08/tests/tests_rafa/uci_all_parallel.R#L101
Also, as explained in https://parallelly.futureverse.org/reference/availableCores.html?q=availableCores%20omit#avoid-ending-up-with-zero-cores, you can simplify the later to:
cores <- parallelly::availableCores(omit = 1)
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:https://github.com/ipeaGIT/uci/blob/313d01efc8735594d097b4be9358e5635985bc08/R/uci.R#L100
https://github.com/ipeaGIT/uci/blob/313d01efc8735594d097b4be9358e5635985bc08/tests/tests_rafa/uci_all_parallel.R#L101
Also, as explained in https://parallelly.futureverse.org/reference/availableCores.html?q=availableCores%20omit#avoid-ending-up-with-zero-cores, you can simplify the later to: