Copy & paste the same issue here.
Basically, I am deploying my app to shinyapps.io. My code is in ui.R and server.R and a data resource Rmarkdown file in inst/xx.Rmd. This Rmd is only used for displaying some content when the app is deployment and user click some buttons. Code inside the Rmd should never be executed at any time. When I deploy the app, rsconnect
tried to execute code inside the Rmd. Is there a way to avoid this?