ModelOriented/shapviz

issue with sv_importance function

Closed this issue · 4 comments

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?

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.

Thanks for this feedback!