hzi-braunschweig / SORMAS-Stats-next-gen

SORMAS-Stats contain functions to analyze and visualize surveillance data collected by SORMAS.
GNU General Public License v3.0
4 stars 6 forks source link

Access errors on last commits : package 'attempt' is missing #132

Closed GRADeS-Gwen closed 2 years ago

GRADeS-Gwen commented 2 years ago

Bug Description

Can not run Sormas-stats from lasts "development" commits. It say that package 'attempt' is missing.

Steps to Reproduce

  1. git pull lasts commit, build and deploy
  2. try to access .../sormas-stats-shinyapp/

Screenshots

sormas-stats_1  | [2022-04-06T15:23:53.287] [INFO] shiny-server - [/srv/shiny-server/sormas-stats-shinyapp:24] Error in library(attempt) : there is no package called 'attempt'
sormas-stats_1  | [2022-04-06T15:23:53.288] [INFO] shiny-server - [/srv/shiny-server/sormas-stats-shinyapp:24] Calls: runApp ... ..stacktraceon.. -> source -> withVisible -> eval -> eval -> library
sormas-stats_1  | [2022-04-06T15:23:53.293] [INFO] shiny-server - [/srv/shiny-server/sormas-stats-shinyapp:24] Execution halted
sormas-stats_1  | [2022-04-06T15:23:53.340] [INFO] shiny-server - [/srv/shiny-server/sormas-stats-shinyapp:24] 
sormas-stats_1  | [2022-04-06T15:23:53.345] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.

System Details

Additional Information

Tried to rollback some commit, and it seem the commit "52ff53b43091dd9e086e02346a25af6c47f9f7e1" is responsible of the problem.

carolinverset commented 2 years ago

@bernardsilenou can you check this point please ? Thank you very much !!

bernardsilenou commented 2 years ago

@carolinverset @GRADeS-Gwen Sorry, it was my fault, I did not restore the list of packages in the renv.lock file. Please pull the new changes and restore the packages renv::restore() before launching the app.