Open andreicpnunes opened 3 years ago
I was having the same problem, but it worked again after re-installing the package:
library(devtools)
devtools::install_github("ropensci/nasapower",force = TRUE) # aug 2021
devtools::install_github('allogamous/EnvRtype',force=TRUE) # current version: 1.0.0 (May 2021)
require(EnvRtype)
My guess is that one of the dependencies got updated and created the issue.
I've created a pull request that should help with this.
The POWER team updated the API, so any version prior to nasapower v4.0.0 won't work. The fix from @rdcoletta updates the locally installed version of nasapower using GitHub, but the CRAN version is now 4.0.0 and supports the new version of the POWER API.
Hi guys,
Congratulations for the great job of Envrtype. Very useful!!
I'm testing the package. Last week "get_wether" worked well, but now I have the following error: Error: Unprocessable Entity (HTTP 422)
I would be glad to have your help.