rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.35k stars 1.87k forks source link

Shiny options that are supported in code but undocumented #4078

Closed daattali closed 4 months ago

daattali commented 4 months ago

I noticed there's a options(shiny.legacy.examples) option that is not mentioned anywhere. I only found out about this option by looking at the source code of runExample. It may or may not be a conscious decision to not document this option. If this was on purpose, then that's fine.

If this was a mistake, then it points to a larger question: is there a definite source of all the available shiny options? Is ?shinyOptions meant to include all the available options, including esoteric ones?

daattali commented 4 months ago

I see now that shiny.legacy.datatable is another option that's supported (according to NEWS) but not mentioned in docs. So perhaps the legacy options are purposely not documented, I'd argue that it would be worthwhile to add a section in ?shinyOptions for legacy options.

cpsievert commented 4 months ago

These options are supported, but purposely not documented (outside of the NEWS) since we don't want to advertise their usage.