ImperialCollegeLondon / covid19model

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

Fixed minor bugs in plot code #67

Closed MansMeg closed 4 years ago

MansMeg commented 4 years ago

Hi!

When playing around with the code I found these two minor bugs.

I missed that ggplot >= 3.3 is a dependency, hence the two commits.

R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] sv_SE.UTF-8/sv_SE.UTF-8/sv_SE.UTF-8/C/sv_SE.UTF-8/sv_SE.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

other attached packages:
 [1] svglite_1.2.3        cowplot_1.0.0        bayesplot_1.7.0     
 [4] ggpubr_0.2.5         magrittr_1.5         gridExtra_2.3       
 [7] scales_1.1.0         matrixStats_0.55.0   EnvStats_2.3.1      
[10] gdata_2.18.0         lubridate_1.7.4      data.table_1.12.8   
[13] rstan_2.21.1         ggplot2_3.2.1        StanHeaders_2.21.0-1
[16] dplyr_0.8.3          tidyr_1.0.2          optparse_1.6.4      

loaded via a namespace (and not attached):
 [1] gtools_3.8.1       tidyselect_0.2.5   purrr_0.3.3       
 [4] V8_3.0.1           colorspace_1.4-1   vctrs_0.2.4       
 [7] stats4_3.6.1       getopt_1.20.3      loo_2.2.0         
[10] rlang_0.4.5        pkgbuild_1.0.6     pillar_1.4.3      
[13] glue_1.3.2         withr_2.1.2        gdtools_0.2.2     
[16] lifecycle_0.2.0    plyr_1.8.5         stringr_1.4.0     
[19] ggsignif_0.6.0     munsell_0.5.0      gtable_0.3.0      
[22] codetools_0.2-16   inline_0.3.15      callr_3.4.1       
[25] ps_1.3.0           curl_4.3           parallel_3.6.1    
[28] fansi_0.4.1        Rcpp_1.0.3         RcppParallel_4.4.4
[31] jsonlite_1.6.1     systemfonts_0.1.1  packrat_0.5.0     
[34] stringi_1.4.5      processx_3.4.1     grid_3.6.1        
[37] cli_2.0.2          tools_3.6.1        lazyeval_0.2.2    
[40] tibble_3.0.0       crayon_1.3.4       pkgconfig_2.0.3   
[43] ellipsis_0.3.0     prettyunits_1.1.1  ggridges_0.5.1    
[46] assertthat_0.2.1   rstudioapi_0.10    R6_2.4.1          
[49] compiler_3.6.1