mlr-org / mlr3verse

Meta-package for installing/updating mlr3* packages.
https://mlr3verse.mlr-org.com
GNU Lesser General Public License v3.0
49 stars 6 forks source link

Move depends to imports? #2

Closed mllg closed 3 years ago

mllg commented 4 years ago

In the packges we have listed in Depends, we actually don't have many functions a typical user would call. E.g., for mlr3learners, it would be okay to have the dictionary populated, so this could easily go to imports. For mlr3filters, it would probably be okay to just re-export the dictionary + sugar function...

pat-s commented 4 years ago

Wouldn't this just confuse the user? Some packages are auto-loaded (even with a messaage), for some others we selectively only import the dictionaries?

What would be better afterwards?

berndbischl commented 4 years ago

i dont think that "imports" works. in 100% of my current scripts i start with 5x library statements... because i need them

pat-s commented 4 years ago

@mllg Is your current opinion still that a selective import would be better?

mllg commented 4 years ago

Yes, I still believe it would be helpful.