New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange graphical output for simple epicurve #119
Comments
Thanks for the report. It is very weird. I'll try and see if I can reproduce it with the latest version of R. |
I can confirm the issue on: > sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS
Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] incidence_1.7.0 ggplot2_3.3.0 outbreaks_1.5.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 digest_0.6.25 withr_2.1.2 assertthat_0.2.1
[5] crayon_1.3.4 dplyr_0.8.5 grid_3.6.3 R6_2.4.1
[9] lifecycle_0.2.0 gtable_0.3.0 magrittr_1.5 scales_1.1.0
[13] pillar_1.4.3 rlang_0.4.5 farver_2.0.3 labeling_0.3
[17] glue_1.3.1 purrr_0.3.3 munsell_0.5.0 compiler_3.6.3
[21] pkgconfig_2.0.3 colorspace_1.4-1 tidyselect_1.0.0 tibble_2.1.3
> Will address today. |
This looks like some buggish behaviour of |
Now reported the bug to the Rstudio crew: tidyverse/ggplot2#3873 |
@gfspiteri can you try installing this patch: remotes::install_github("reconhub/incidence@issue_119") And let me know if it fixes your issue? |
Thanks yes works well both for the ebola data and my script. |
Great, thanks. I have submitted a PR. This will be in the next release on CRAN, hopefully soon as this is a major bug. Thanks for reporting it! |
Thanks for responding so quickly!
|
Reopening because the problem still exist on |
I have been producing simple epicurves for the outbreak of COVID-19. Last Friday my outputs started acting weirdly with data not being plotted and the x-axis disappearing (I don't know that I changed anything/installed any new packages/upgraded anything etc). I tried using simple examples from the incidence package help file and again got very strange outputs. For example:
leads to
This is my sessionInfo() output:
Any help appreciated!
The text was updated successfully, but these errors were encountered: