Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

2 participants