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
When I deploy my golem app to shinyapps.io, named "jzApp", I get the warning:
rsconnect::deployApp(
appName=desc::desc_get_field("Package"),
appTitle=desc::desc_get_field("Package"),
appFiles= c(
# Add any additional files unique to your app here."R/",
"inst/",
#"data/","NAMESPACE",
"DESCRIPTION",
"app.R"
),
appId=rsconnect::deployments(".")$appID,
lint=FALSE,
forceUpdate=TRUE
)
ℹ CapturingRdependencieswithrenvThefollowingrequiredpackagesarenotinstalled:-jzAppPackagesmustfirstbeinstalledbeforerenvcansnapshotthem.Use`renv::dependencies()`toseewherethispackageisusedinyourproject.Whatdoyouwanttodo?
1:Snapshot, justusingthecurrentlyinstalledpackages.2:Installthepackages, thensnapshot.3:Cancel, andresolvethesituationonyourown.
Is this supposed to happen or do I have something mis-configured?
Choosing Option 1 deploys, but the app does not work and gives the following errors in the log:
2024-04-01T15:47:31.123473+00:00 shinyapps[11331578]: Starting R with process ID: '75'
2024-04-01T15:47:31.128384+00:00 shinyapps[11331578]: Shiny application starting ...
2024-04-01T15:47:31.132042+00:00 shinyapps[11331578]: Warning in loadSupport(appDir, renv = sharedEnv, globalrenv = NULL) :
2024-04-01T15:47:31.135519+00:00 shinyapps[11331578]: Loading R/ subdirectory for Shiny application, but this directory appears to contain an R package. Sourcing files in R/ may cause unexpected behavior.
2024-04-01T15:47:31.139369+00:00 shinyapps[11331578]: ℹ Loading jzApp
2024-04-01T15:47:31.984508+00:00 shinyapps[11331578]:
2024-04-01T15:47:31.988280+00:00 shinyapps[11331578]: Listening on http://127.0.0.1:41329
2024-04-01T16:24:18.216042+00:00 shinyapps[11331578]: Container event from container-9377171: stop
Option 2 yields:
Selection: 2
Error: package 'jzApp' is not available
The text was updated successfully, but these errors were encountered:
Thank you for this feedback. This is an issue we encountered some time ago, but we were unable to reproduce it with the latest versions of renv and rsconnect.
When I deploy my golem app to shinyapps.io, named "jzApp", I get the warning:
Is this supposed to happen or do I have something mis-configured?
Choosing Option 1 deploys, but the app does not work and gives the following errors in the log:
Option 2 yields:
The text was updated successfully, but these errors were encountered: