I am using the shinydashboard package to create a graphics app. It has date period as default parameters. When I run the app it already displays the first graphic. How can I prevent shiny from doing this and wait for me to click the menu first?
The plot will only be created once the button is clicked and the observeEvent activated.
More details on the function can be read here: observeEvent
By the way, in future I encourage you to create a reprex when you have a question where you provide us with minimal code and data to recreate the issue so it's easier for all to understand and help you out. You can find details on creating one here: