Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidelines for packages generating shiny modules #401

Open
StatisMike opened this issue Dec 26, 2021 · 0 comments
Open

Guidelines for packages generating shiny modules #401

StatisMike opened this issue Dec 26, 2021 · 0 comments

Comments

@StatisMike
Copy link

StatisMike commented Dec 26, 2021

I'm developing packages which provide some shiny modules. Every one of them is also generating some UI with shinyInputs - and, as far as I can gather, it would be suboptimal in the current state (where the functions take a dependency on generating inputs from shiny (more specific: textInput, modified numericInput (allowing no initial value and placeholder text), selectizeInput and radioButtons.

What would be the best practices to provide support for shiny.semantic (if the shiny.semantic is loaded use it to import functions from it) without making it dependency?

I'm thinking about creating an argument (eg. shiny.semantic = c(TRUE, FALSE)), so the module will use a different strategy of UI generation for shiny.semantic. Furthermore, adding shiny.semantic to "Suggests" in the DESCRIPTION file. Do you think it would be enough, or should any other way be used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant