Skip to content

fix: use %in% in BenchmarkAggr$subset() rather than ==#38

Closed
jemus42 wants to merge 1 commit into
mlr-org:mainfrom
jemus42:main
Closed

fix: use %in% in BenchmarkAggr$subset() rather than ==#38
jemus42 wants to merge 1 commit into
mlr-org:mainfrom
jemus42:main

Conversation

@jemus42

@jemus42 jemus42 commented Jan 19, 2024

Copy link
Copy Markdown
Member

I found that $subset() threw a warning if learner or task was a character length greater 1.
While I wasn't able to create a simple regex to reproduce it, I don't see any downside to using %in% here though, which appears to work just fine in my case.

@jemus42

jemus42 commented Jan 19, 2024

Copy link
Copy Markdown
Member Author

Ah nevermind, I see that #36 also addresses this while also changing other parts of the class.

@jemus42 jemus42 closed this Jan 19, 2024
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.

1 participant