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

feat: dictionary_sugar_get does string comparison with other given dictionaries for error message #120

Merged
merged 12 commits into from
Oct 8, 2024

Conversation

advieser
Copy link
Contributor

@advieser advieser commented Oct 1, 2024

Addresses mlr-org/mlr3pipelines#717

Through this, we can pass a list of dictionaries (.dicts_suggest) to dictionary_sugar_get(dict, .key, ..., .dicts_suggest) which are checked for close matches to .key if .key was not found in the dictionary dict. Close matches are then listed in the error message.

R/did_you_mean.R Outdated Show resolved Hide resolved
R/did_you_mean.R Outdated Show resolved Hide resolved
R/did_you_mean.R Outdated Show resolved Hide resolved
R/did_you_mean.R Outdated Show resolved Hide resolved
R/did_you_mean.R Outdated Show resolved Hide resolved
R/did_you_mean.R Outdated Show resolved Hide resolved
@advieser advieser marked this pull request as ready for review October 2, 2024 11:46
@advieser advieser changed the title dictionary_sugar_get does string comparison with other given dictionaries for error message feat: dictionary_sugar_get does string comparison with other given dictionaries for error message Oct 2, 2024
@mb706 mb706 merged commit 186783e into mlr-org:main Oct 8, 2024
3 checks passed
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 this pull request may close these issues.

2 participants