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 [.data.frame(obj, , cols_id, drop = FALSE) : undefined columns selected #102

Open
Sven-Winter opened this issue Nov 14, 2023 · 1 comment

Comments

@Sven-Winter
Copy link

Hi I am trying to get chiimp running again (after a computer re-setup) but when I drop the config file (I have tried a view different files) I received the following error:

Error in [.data.frame(obj, , cols_id, drop = FALSE) :
undefined columns selected
Additionally, Warning:
In check_spec(cfg_table, CONFIG_TABLE_SPEC) :
Missing columns in table: Key
Missing columns in table: Value

Any idea what causes this error?

Thank you very much in advance

Sven

@ressy
Copy link
Member

ressy commented Nov 15, 2023

Hi Sven,

In the development version of the code I've switched to a primarily CSV-based configuration system, and I'm thinking your new install is probably using that dev CHIIMP version (which apparently has some bugs in the config-handling, if it's failing with an existing config file; it should be backwards-compatible). There are other features I'm working on there too but they're not quite ready yet (to anyone else reading this, I'm sorry if I still owe you responses about those features!)

If you're not specifically looking for any of these new features, I'd suggest just using the most recent stable version, 0.4.1 until I can figure this out. Though, we can check one simple possible explanation here: does your config file end with .yml or .yaml? The latest code uses that to decide which file loader it should use, so if the filename ends in something else, that would explain why it seems to be trying to use the CSV loader.

Jesse

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

2 participants