Closed carbonmetrics closed 3 years ago
Thank you very much. I am unable to reproduce this issue, unfortunately. What was the output of get_carbon()? can you take a look at the "a" data frame? is the data there? You can also try installing from CRAN and see what happens.
thanks
library(hockeystick) hockeystick: Use hockeystick_cache_details() to view cached climate data. hockeystick: Use hockeystick_update_all() to update and cache all climate data. a=get_carbon() trying URL 'ftp://aftp.cmdl.noaa.gov/products/trends/co2/co2_mm_mlo.txt' Content type 'unknown' length 55937 bytes (54 KB)
plot_carbon(a) sessionInfo() R version 4.0.3 (2020-10-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.2 LTS
Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3 LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] hockeystick_0.6.0 devtools_2.4.2 usethis_2.0.1
Thanks! I found the issue: There was a bug in RStudio which made ggplot crash. Upgrading RStudio (1.4.1717) solved the problem.
Glad to hear that! thank you for opening the issue.
Crashes RStudio immediately.