Closed timothee-bacri closed 1 week ago
It's actually on purpose, because of what help(handler_shiny)
says:
"For most Shiny application there is little need to use this Shiny handler directly. Instead, it is sufficient to use withProgressShiny()
."
I marked handler_shiny()
as an internal function so that it does not show up in the HTML help index, so developers and users won't attempt to use it as-is without withProgressShiny()
.
I only know so much about Shiny - do you have a use case where you want to use handler_shiny()
instead of withProgressShiny()
?
I don't have a good use case for this, I just thought I am meant to use with_progress()
and specify the handlers before, so I got confused when I saw that Shiny was different from other cases.
I've updated help(with_progress)
to refer to withProgressShiny()
when writing Shiny apps.
progressr::handler_shiny
has a help page, but is not listed along with the other handlersSteps to repeat from RStudio:
handler_shiny
is not listedlibrary(progressr);help("handler_shiny")
, and see that the function existsI'm sure it's not hard to fix, but I am not sure where to look to provide a PR for this.