You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
I tested on Shinyapps.io without putting pkgload in the DESCRIPTION file and it worked.
The text was updated successfully, but these errors were encountered:
david-vicente
changed the title
Possibly outdated instruction in Chapter Packages, Subsection [Deploying your app-package](https://mastering-shiny.org/scaling-packaging.html#deploying-your-app-package)
Possibly outdated instruction in Chapter 20: Packages, Subsection: Deploying your app-package
Dec 19, 2024
Since
rsconnect
recursively detects all R package dependencies for an application by parsing all.R
and.Rmd
files, is it really necessary to addpkgload
to the list of Imports here:source, web?
I tested on Shinyapps.io without putting
pkgload
in theDESCRIPTION
file and it worked.The text was updated successfully, but these errors were encountered: