robjhyndman / demography

demography package for R
https://pkg.robjhyndman.com/demography
73 stars 25 forks source link

hmd.mx error #57

Open petermcquire opened 8 months ago

petermcquire commented 8 months ago

running the code:

uk1<-hmd.mx("GBR_NP", login, password, "UK")

gives the following error message:

Error in read.table(con, header = TRUE, skip = 2, na.strings = ".", as.is = TRUE) : more columns than column names

I have run hmd.mx function several times without encountering the issue before.

Thank you

robjhyndman commented 8 months ago

I do not get that error, using either the current CRAN version or the current github version. Try updating your packages.