-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature Request: Sugar for installing new learners #82
Comments
We could think of adding this kind of smartness into
All of this requires that the users have already access to mlr3learners.drat. This would be another step at the start to check if that condition is true. If not, we prompt the users to take action once and add the repo to their .Rprofile with the provided code in the mlr3learners.drat repo. With all of the above, users could simply do I don't think that we should introduce a new function for this but rather handle it in a smart way behind the scenes. |
That would be amazing |
Seconded! I've just spent ~15 minutes trying to understand how to use some learners in proba (since they moved to separate repos) and I was aware that some learners moved from proba to custom repos. Imagine how frustrating this would be for others. |
Yeah, I did not have time yet to do this and not sure when I will have. Happy to look over a PR that does what was outlined before :) |
It would be nice to have some functions like:
Which on first run can automatically add the relevant code to install from
drat
and for additional runs can look up the learner id in the registry (#81) and then install the relevant packages. This would make it much easier for users to install a learner without needing to know the package name, and would interface very nicely with a registry.Thanks!
The text was updated successfully, but these errors were encountered: