Application failed to start when deploying a {golem} app in a shiny-server?

I'm getting the same error as this thread, https://forum.posit.co/t/how-can-i-use-an-golem-app-in-a-shiny-server/157007. Below is the results in the log. I tried installing pkgload in R, but I'm still getting the same error.

GNU nano 6.2 basicgolem-shiny-20240103-003615-33285.log
su: ignoring --preserve-environment, it's mutually exclusive with --login
Warning in loadSupport(appDir, renv = sharedEnv, globalrenv = NULL) :
Loading R/ subdirectory for Shiny application, but this directory appears to contain an R package. Sourcing files in R/ may cause>
Error in loadNamespace(x) : there is no package called ‘pkgload’
Calls: runApp ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.