The usage of registerDoParallel()
In Apply() https://earth.bsc.es/gitlab/ces/multiApply/-/blob/master/R/Apply.R#L717
if (parallel) registerDoParallel(ncores)
While in the documentation https://www.rdocumentation.org/packages/doParallel/versions/1.0.17/topics/registerDoParallel
registerDoParallel(cl, cores=NULL, …)
Should "ncores" be the 2nd input? Then what is cl
?