Closed achubaty closed 4 months ago
@ianmseddy @eliotmcintire this is now implemented and working in package tests. i will continue testing in projects, and make corresponding tweaks as needed to the canClimateData
module.
setting options(climateData.parallel.backend = "future")
lets the user set future::plan()
how they please in their main script, without needing to create and pass a parallel cluster object (cl
) using the "parallel" backend approach (which is still default for now)
parLapply()
is currently used inbuildClimateMosaics()
andbuildClimateMosaicsNormals()
, but is less flexible for users -- e.g., user on windows can't currently avoid creating a cluster to run things sequentially.consider switching over to e.g.,
future.apply
to allow the user to specify future plan 'sequential' or 'callr' etc.