parabar icon indicating copy to clipboard operation
parabar copied to clipboard

no progress bar with backend = NULL

Open MaximilianPi opened this issue 1 year ago • 1 comments

Hi @mihaiconstantin

thanks for the great package. Is it intended that there's no progress bar for backend = NULL?:

parabar::configure_bar(type = "modern", format = "[:bar] :percent :eta", width = getOption("width")/2)
results <- parabar::par_sapply(NULL, 1:100, function(x) {
  # Sleep a bit.
  Sys.sleep(0.01)
  
  # Compute and return.
  x + 1
})

MaximilianPi avatar Aug 30 '23 07:08 MaximilianPi