Hi!
I've built my first app using Shiny, but I can't get it to work on the shinapps.io website (it works fine in Rstudio). The log says "Warning: Error in %>%: could not find function "%>%"". I have dplyr loaded, so I'm not sure why it doesn't work or how to get around this issue.
The code is:
You might have loaded dplyr in your local R session but you are not loading it on the app code, so when it gets deployed it runs on a different R session where dplyr is not loaded (or at least that's what you are showing on your sample code).
It should be but enough but that is not what you are showing and we can't reproduce your issue. To help us help you, could you please prepare a proper reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one for a shiny app
I know this is super late but the forward piping function %>% is actually part of the 'magrittr' package. I ran into this same issue and after installing and adding the library I had no further issues.