I am running the "weathercan" data package (https://cran.r-project.org/web/packages/weathercan/index.html; https://github.com/ropensci/weathercan) and keep getting an error when trying to retrieved data from the Environment and Climate Change historic weather data website. I've re-installed the package, I even reinstalled R and RStudio after deleting everything R from my system, but the error persists.
The package works fine when I look up stations up, e.g.,
stations_search(coords = c(44.140125, -80.363136), dist = 20, interval = "day")
But whenever I try to retrieve data I get an error. For example:
Station_data <- weather_dl(station_ids = 4497, start = "2000-01-01", end = "2002-05-30", interval = "day")
Returns:
Error: Problem with
mutate()
inputhtml
. x schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). i Inputhtml
ispurrr::map(...)
.
Run rlang::last_error()
to see where the error occurred, give this:
<error/dplyr:::mutate_error> Problem with
mutate()
inputhtml
. x schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). i Inputhtml
ispurrr::map(...)
. Backtrace:
- weathercan::weather_dl(...)
- base::.handleSimpleError(...)
- dplyr:::h(simpleError(msg, call)) Run
rlang::last_trace()
to see the full context.
This is all beyond my understanding, so I'm stuck here.
Any insights would be helpful.
Thanks