ropensci / rnoaa

R interface to many NOAA data APIs
https://docs.ropensci.org/rnoaa
Other
330 stars 84 forks source link

buoy() needs ncd4 which is not available for R v 3.3.1 #162

Closed pssguy closed 8 years ago

pssguy commented 8 years ago

From vignette

> buoy(dataset = 'cwind', buoyid = 46085)
Error: Please install 'ncdf4'

> install.packages("ncd4")
Installing package into. etc
(as ‘lib’ is unspecified)

Warning in install.packages :
  package ‘ncd4’ is not available (for R version 3.3.1)
sckott commented 8 years ago

what's your session_info() ? it install fine for me, probably a OS problem guessing

pssguy commented 8 years ago

R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252
[3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
[5] LC_TIME=English_Canada.1252

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

other attached packages: [1] rnoaa_0.6.0

loaded via a namespace (and not attached): [1] Rcpp_0.12.6 lubridate_1.5.6 tidyr_0.6.0 XML_3.98-1.4 dplyr_0.5.0.9000 [6] assertthat_0.1 rappdirs_0.3.1 grid_3.3.1 R6_2.1.3 plyr_1.8.4
[11] jsonlite_1.0 gtable_0.2.0 DBI_0.5 magrittr_1.5 scales_0.4.0
[16] httr_1.2.1 ggplot2_2.1.0 stringi_1.1.1 tools_3.3.1 stringr_1.1.0
[21] munsell_0.4.3 colorspace_1.2-6 gridExtra_2.2.1 tibble_1.2

sckott commented 8 years ago

from what I can remember, I don't remember problems with ncdf4 installs on windows, i'll ask some other people

pssguy commented 8 years ago

does not available for 3.3.1 mean it doesn't run on the latest R version? If so, that would be an explanation

sckott commented 8 years ago

No, because it runs fine on my machine.

Tried on a windows 8 VM, same setup wrt R, worked fine for me.

pssguy commented 8 years ago

Just tried again and worked fine. I guess I did not restatr R before installing first time. maybe because rnoaa was already attached? See sessionInfo above

sckott commented 8 years ago

glad you figured it out