Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hmd.mx error #57

Open
petermcquire opened this issue Nov 4, 2023 · 2 comments
Open

hmd.mx error #57

petermcquire opened this issue Nov 4, 2023 · 2 comments

Comments

@petermcquire
Copy link

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
Copy link
Owner

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

@kabarigou
Copy link

I had the same issue: the issue is not from the packages but from the HMD website update.

It seems that if the login credentials are from before the HMD website update (around summer 2022), the function fails.

@petermcquire, register again at HMD with new login credentials and the function will work afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants