Since rsconnect recursively detects all R package dependencies for an application by parsing all .R and .Rmd files, is it really necessary to add pkgload to the list of Imports here:
- Normally when you deploy an app, the rsconnect package automatically figures out all of the packages your code uses.
But now that you have a DESCRIPTION file, it requires you to explicitly specify them.
The easiest way to do this is to call usethis::use_package().
You'll need to start with shiny and pkgload:
usethis::use_package("shiny")
usethis::use_package("pkgload")
```
source, web?
I tested on Shinyapps.io without putting pkgload in the DESCRIPTION file and it worked.