In this PR, we fix the code such that we check that the xgboost namespace is available.
In the previous version, shapr stoped running if !requireNamespace("stat", quietly = TRUE), but this has been fixed to !requireNamespace("xgboost", quietly = TRUE). That is, we now check for the right package.
In this PR, we fix the code such that we check that the
xgboost
namespace is available.In the previous version,
shapr
stoped running if!requireNamespace("stat", quietly = TRUE)
, but this has been fixed to!requireNamespace("xgboost", quietly = TRUE)
. That is, we now check for the right package.