ImperialCollegeLondon / covid19model

Code for modelling estimated deaths and cases for COVID19.
MIT License
944 stars 271 forks source link

Full run: execution halted after 8 hours - no figures #103

Closed Tresnia closed 4 years ago

Tresnia commented 4 years ago

Hi Swapnil, As discussed by email, I am logging an issue request here. To summarise: Managed to run for Italy only. Figures and results produced as expected. However, then tried to execute the full run a few times. Produced the same error each time: 'Execution halted' (see screenshot for details)

No figures were produced in the Figures folder.

Get the following error messages after 8 hours of run: "Error: geom_line range requires the following missing aesthetics: x, ymin, ymax Execution halted Error: Error while plotting covariate size effects! Code: 1 Execution halted"

Would have expected the full script to run and produce full set of figures

See attached screenshots of 6 main warnings and error messages:

Screenshot 2020-05-11 at 23 23 19 Screenshot 2020-05-11 at 23 23 09

Additional context Tried to run the code 5 times since Friday morning. Execution halted every time. Same errors occur each time, after roughly 8 hours.

s-mishra commented 4 years ago

Hi @Tresnia ,

May I know what command are you running and have you checked you have all the dependencies to run that are listed in enviornment.yml?

Please run this from terminal Rscript base.r base -D or first set debug environment variable to TRUE and then source base.r. This is a debug run which won't take more than 3 mins to run. I can still get everything to run on windows, mac and ubuntu.

If you still get an error either paste it here.

s-mishra commented 4 years ago

Other thing is may I get a full description of your environment please?

s-mishra commented 4 years ago

As discussed over chat, issue is essentially ggplot being at old version. Update ggplot to version 3.3.0 or later and things should be fine.