R/stopcl.R

Defines functions stopcl

stopcl = function(cl, silent)
{
  if(!silent)
    message("[easypar] ", Sys.time(), " - Stopping parallel clusters.")

  parallel::stopCluster(cl)

  # if(!silent) cat(bgGreen(" OK \n"))
}
caravagn/easypar documentation built on June 4, 2022, 4:25 a.m.