Using options(cli.progress_handlers='rstudio') doesn't work, due to cli:::builtin_handler_rstudio$able() returning FALSE.
Looking at the code for the function, it is checking that .Platform$GUI == "Rstudio", while for me at least (runnning RStudio 2022.07), it is "RStudio", with a capital S.
At the moment I can work around by doing options(cli.progress_handlers_only='rstudio'), as that bypasses the $able checks, but it would be better to just do a case-insensitive check (assuming that it was indeed Rstudio at some point in the past).
Using
options(cli.progress_handlers='rstudio')
doesn't work, due tocli:::builtin_handler_rstudio$able()
returningFALSE
.Looking at the code for the function, it is checking that
.Platform$GUI == "Rstudio"
, while for me at least (runnning RStudio 2022.07), it is "RStudio", with a capital S.At the moment I can work around by doing
options(cli.progress_handlers_only='rstudio')
, as that bypasses the$able
checks, but it would be better to just do a case-insensitive check (assuming that it was indeed Rstudio at some point in the past).Thanks,
Charles