Skip to content

Commit

Permalink
fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
martinju committed Dec 19, 2024
1 parent 94300a4 commit cd085ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ inst/compare_lundberg\.xgb\.obj
^.Rprofile
^python$
^rebuild_long_running_vignette\.R$
^vignettes/understanding_shapr_vaeac\.Rmd\.orig$
^vignettes/understanding_shapr\.Rmd\.orig$
^vignettes/understanding_shapr_vaeac\.Rmd\.orig$
^vignettes/understanding_shapr_regression\.Rmd\.orig$
^vignettes/understanding_shapr_asymmetric_causal\.Rmd\.orig$
^vignettes/figure_main/*$
^vignettes/cache_main/*$
^vignettes/figure_vaeac/*$
^vignettes/cache_vaeac/*$
^vignettes/figure_regression/*$
^vignettes/cache_regression/*$
^vignettes/figure_asymmetric_causal/*$
^vignettes/cache_asymmetric_causal/*$
3 changes: 2 additions & 1 deletion R/print.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
#' @param x A shapr object
#' @param digits Scalar Integer.
#' Number of digits to display to the console
#' @param ... Unused
#' @export
print.shapr <- function(x, digits = 4) {
print.shapr <- function(x, digits = 4, ...) {
shap <- copy(x$shapley_values_est)
shap_names <- x$internal$parameters$shap_names
cols <- c("none", shap_names)
Expand Down

0 comments on commit cd085ec

Please sign in to comment.