Describe the bug
Also referenced here . The cli package messages are not relayed when called within the future.apply context. This is even the case when no parallelism is used.
Reproduce example
The following waits for 10 seconds and prints hihihihihihihihihihi
future::plan(future::sequential)
ret <- future.apply::future_lapply(X = seq(10), future.stdout=NA,
FUN=function(x) {
cli::cli_inform('hi')
Sys.sleep(1)
})
Describe the bug
Also referenced here . The
clipackage messages are not relayed when called within thefuture.applycontext. This is even the case when no parallelism is used.Reproduce example
The following waits for 10 seconds and prints
hihihihihihihihihihi