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

issue with sv_importance function #87

Closed
ferrenlove opened this issue May 13, 2023 · 4 comments
Closed

issue with sv_importance function #87

ferrenlove opened this issue May 13, 2023 · 4 comments

Comments

@ferrenlove
Copy link

Hi,
I am running you code and run into below error:

shapviz::sv_importance(shp)
Error in FUN(newX[, i], ...) : unused argument (simplify = FALSE)

Can you please help?

@mayer79
Copy link
Collaborator

mayer79 commented May 13, 2023

Yes. Either update R or shapviz, see #29

In the original version of sv_importance(), we were using the new (and super useful) simplify argument of apply(). To make things run also for older R versions, this was replaced.

@ferrenlove
Copy link
Author

ferrenlove commented May 13, 2023 via email

@ferrenlove
Copy link
Author

ferrenlove commented May 13, 2023 via email

@mayer79
Copy link
Collaborator

mayer79 commented May 13, 2023

Thanks for this feedback!

@mayer79 mayer79 closed this as completed May 13, 2023
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

2 participants