Failing to deploy a Shiny app to RSConnect because it "could not find function %>%"

Hello all,

I have developed a Shiny app that i would like deployed on our RSconnect server. I am taking advantage of RSconnect's "git-backed deployment" feature, pushed my code to our internal GitLab repo, and set up RSconnect to look at that repo. Before pushing my code, I made sure to create the manifest.json file using rsconnect::writeManifest(). Now, I am seeing this error:

The magrittr package is listed in the manifest.json file, so I am not sure why RSconnect does not know where to find it.

How can i fix this?

Ensure you are explicitly calling library(magrittr) in your code. Though it's in the manifest, if it isn't brought in by your code, %>% won't be found.