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

Error in .subset(x, j) : invalid subscript type 'list' #2

Closed
chulhongsung opened this issue Aug 27, 2024 · 1 comment · Fixed by #5
Closed

Error in .subset(x, j) : invalid subscript type 'list' #2

chulhongsung opened this issue Aug 27, 2024 · 1 comment · Fixed by #5

Comments

@chulhongsung
Copy link

Thank you for sharing good package!

I find that the error in title occurs when loading some datasets such as 'id = 332' and '891'.

fetch_ucirepo(id=332)

Could you fix it for R users?

@coatless
Copy link
Contributor

@chulhongsung thanks for the report.

The issue here is two-fold:

  1. The ID column wasn't being unlisted; and,
  2. Some of the variables inside the metadata were padded with spaces causing the subset operation to fail.

This should be addressed by #5.

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

Successfully merging a pull request may close this issue.

3 participants
@coatless @chulhongsung and others