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

Update the imports #377

Closed
wants to merge 183 commits into from
Closed

Conversation

LHBO
Copy link
Collaborator

@LHBO LHBO commented Feb 19, 2024

In this pull request, we remove imports that are no longer needed in the shapr-package.R file. These imports were important at an earlier version of the shapr package, but were not removed when the corresponding dependencies were removed.

@LHBO
Copy link
Collaborator Author

LHBO commented Feb 19, 2024

Note that several more can be removed if one use e.g. data.table::copy instead of just copy. Currently there is no consistency across methods when to include the library prefix and not. Discuss with Martin.

Also, sourceCpp is no longer needed, but removing that makes the checks give a lot of warnings.

@LHBO
Copy link
Collaborator Author

LHBO commented Feb 27, 2024

Should remove whitespace around the number of features.

Error in check_approach(internal) : approach must be one of the following: categorical, copula, ctree, empirical, gaussian, independence, regression_separate, timeseries, vaeac or a vector of length one less than the number of features ( 3 ), with only the above strings.

@martinju martinju closed this Apr 16, 2024
@martinju
Copy link
Member

Do this in #391

@LHBO LHBO deleted the Lars/shapr_cleanup branch April 18, 2024 08:04
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.

2 participants