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

Required packages are not loaded #15

Open
TuomasBorman opened this issue Oct 3, 2024 · 0 comments
Open

Required packages are not loaded #15

TuomasBorman opened this issue Oct 3, 2024 · 0 comments

Comments

@TuomasBorman
Copy link
Contributor

Hello!

IntegratedLearner depends on several packages, for instance tidyverse:

tidyverse

However, the functions are not listed in NAMESPACE:

https://github.com/himelmallick/IntegratedLearner/blob/master/NAMESPACE

... and they are used without package specification:

clean_base_learner <- str_remove_all(fit$base_learner, 'SL.')

This means that these functions are not loaded when IntegratedLearner is loaded. This leads to errors where certain function is not found.


Error in str_remove_all(fit$base_learner, "SL.") : 
  could not find function "str_remove_all"

The problem is rather frustrating for user to solve.

-Tuomas

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

No branches or pull requests

1 participant