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

Account for {checkmate} v2.0.0 update #2734

Merged
merged 1 commit into from
Feb 10, 2020
Merged

Account for {checkmate} v2.0.0 update #2734

merged 1 commit into from
Feb 10, 2020

Conversation

pat-s
Copy link
Member

@pat-s pat-s commented Feb 10, 2020

fixes #2733

Actually fixed the test to check for two measures in tuneParamsMultiCrit() and fail if only one is provided.

Beforehand the error was triggered to due a class check (the supplied Measure object is a list and passing it without being wrapped in a list causes the issue that tuneParamsMultiCrit() tries to use all elements of Measure as a measure instead of treating the passed object as a single measure) and not the fact that only one measure was supplied.

@pat-s pat-s changed the title fix broken test Account for {checkmate} v2.0.0 update Feb 10, 2020
@pat-s pat-s merged commit 7ebc364 into master Feb 10, 2020
@pat-s pat-s deleted the fix-checkmate-upd branch February 10, 2020 16:07
vrodriguezf pushed a commit to vrodriguezf/mlr that referenced this pull request Jan 16, 2021
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.

Test error after {checkmate} v2.0 update
1 participant