I have a tutorial that runs locally and uses only the learnr and tidyverse packages (and loads these packages properly in the source code). When I deploy to shinyapps.io or to RStudio Connect I get an error that says the tidyverse package is not available.
In the tutorial I have a mix of exercise code that works as is as well as some broken exercise code (for learners to fix up before they run the exercise).
Below is the warning I get in the Deploy logs:
Warning message: In fileDependencies.R(tempfile) : Failed to parse /var/folders/k2/mcnrccp9601c_qwvws0vh25w0000gn/T//RtmpLurP9Z/filed5ac75b4934c ; dependencies in this file will not be discovered.
Any input as to how to deploy the tutorial would be much appreciated.