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

feat: warn when installing packages with srcrefs #97

Closed
wants to merge 6 commits into from

Conversation

sebffischer
Copy link
Sponsor Member

When installing packages with source references and configuring objects with parameters that are functions, objects can be gigantic. Here we heuristically check whether mlr3misc is installed with srcrefs and warn if this is the case.
Note that we don't simply check for the presence of srcrefs in the attributes to avoid evaluating the promise.

R/zzz.R Outdated Show resolved Hide resolved
@be-marc
Copy link
Member

be-marc commented Dec 6, 2023

Tested on my machine. Works.

Co-authored-by: Marc Becker <[email protected]>
@sebffischer
Copy link
Sponsor Member Author

We solve this differently by removing srcrefs from custom_check functions and parameter values.

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.

None yet

2 participants