Closed mbs2016 closed 5 years ago
The following code snippet:
library(demography) data <- hmd.mx("FRACNP", "xxx@xxx.com", "xxx", "France Civilian Population")
gives the following error message, although the username and password (in each case anonymised) and country label are correct:
Error in hmd.mx("FRACNP", "xxx@xxx.com", "xxx", "France Civilian Population") : Connection error at www.mortality.org. Please check username, password and country label. sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) Matrix products: default locale: [1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252 [4] LC_NUMERIC=C LC_TIME=German_Germany.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] demography_1.20 forecast_8.4
I also experience the same issue
The github version was fixed six weeks ago in https://github.com/robjhyndman/demography/commit/5b1e554974c80368da729a3f4ae038619f2ec9a2
The following code snippet:
gives the following error message, although the username and password (in each case anonymised) and country label are correct: