Closed mayhaw closed 5 years ago
thanks, can you include your R session info please
Ok i added session info
Sorry for the delay in answering, had some family stuff that came up. Looking at this today
I can't replicate the problem, with the current CRAN version, the older CRAN version you have, or the development version here on github.
It's worth trying to upgrade to the latest CRAN version at least to see if that fixes things.
It's possible some dependency version is to blame here. e.g., maybe tibble
, which is used in this fxn, you've got a relatively old version of that pkg
I've also been encountering this problem. I was just pulling data using the ghcnd_stations() function last week, but suddenly the code no longer pulls anything.
`stations <- ghcnd_stations()
stations
A tibble: 0 x 11
... with 11 variables: id
sessionInfo() R version 3.3.0 (2016-05-03) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] raster_2.6-7 rgdal_1.2-18 sp_1.2-7 rnoaa_0.8.4 isdparser_0.3.0 tibble_1.4.2 gridExtra_2.3 rappdirs_0.3.1 [9] jsonlite_1.5 xml2_1.2.0 XML_3.98-1.11 scales_0.5.0 ggplot2_3.1.1 tidyr_0.8.0 dplyr_0.7.4 lubridate_1.7.4 [17] httr_1.4.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 pillar_1.3.1 plyr_1.8.4 bindr_0.1.1 tools_3.3.0 digest_0.6.14 evaluate_0.13
[8] lattice_0.20-33 gtable_0.3.0 pkgconfig_2.0.2 rlang_0.3.4.9003 rstudioapi_0.10 yaml_2.1.18 crul_0.7.4
[15] curl_3.3 xfun_0.6 bindrcpp_0.2.2 knitr_1.22 withr_2.1.2 stringr_1.4.0 triebeard_0.3.0
[22] grid_3.3.0 httpcode_0.2.0 glue_1.3.1 R6_2.4.0 fansi_0.4.0 rmarkdown_1.12 hoardr_0.5.2
[29] purrr_0.2.4 magrittr_1.5 htmltools_0.3.6 urltools_1.7.3 assertthat_0.2.1 colorspace_1.3-2 utf8_1.1.3
[36] stringi_1.1.7 lazyeval_0.2.1 munsell_0.5.0 crayon_1.3.4 `
thanks for the ping here @chanse-ford You do have a very old version of R from 2016, I don't know if that's to blame, but it wouldn't hurt to upgrade to the current R version (v3.6).
both empty data.frame's come from windows machines, so it may be a windows problem, will investigate that
@mayhaw @chanse-ford reinstall remotes::install_github("ropensci/rnoaa")
, reload R, then try again, let me know if it works now
@sckott I've updated R to 3.6 and installed the github version of the package you linked and everything appears to be working normally again on my machine. Thanks for figuring this out so quickly.
glad it works
installing R 3.6 and install.packages("rnoaa") worked for me
@mayhaw glad it works
Looks like maybe something is up with the daily database due to a recent revamp: