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 your case, you can also simplify:
https://github.com/ipeaGIT/gtfs2gps/blob/31a83b4f5b47e2c5fb5da811d2b54603caf5bc9b/R/gtfs2gps.R#L338
to:
ncores <- 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 your case, you can also simplify:
https://github.com/ipeaGIT/gtfs2gps/blob/31a83b4f5b47e2c5fb5da811d2b54603caf5bc9b/R/gtfs2gps.R#L338
to: