Skip to content

Commit

Permalink
style and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martinju committed Dec 19, 2024
1 parent 67293c0 commit 32617f9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion R/approach_empirical.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ setup_approach.empirical <- function(internal,
empirical.cov_mat = NULL,
model = NULL,
predict_model = NULL, ...) {

defaults <- mget(c(
"empirical.eta", "empirical.type", "empirical.fixed_sigma",
"empirical.n_samples_aicc", "empirical.eval_max_aicc", "empirical.start_aicc"
Expand Down
2 changes: 1 addition & 1 deletion R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ check_extra_computation_args <- function(extra_computation_args) {

# kernelSHAP_reweighting
if (!(length(kernelSHAP_reweighting) == 1 && kernelSHAP_reweighting %in%
c("none", "on_N", "on_all", "on_all_cond"))) {
c("none", "on_N", "on_all", "on_all_cond"))) {
stop("`kernelSHAP_reweighting` must be one of `none`, `on_N`, `on_all`, `on_all_cond`.\n")
}

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-iterative-output.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ test_that("output_lm_numeric_independence_converges_tol_paired", {
),
iterative = TRUE,
verbose = c("convergence", "shapley")
),
),
"output_lm_numeric_independence_converges_tol_paired"
)
})
Expand Down

0 comments on commit 32617f9

Please sign in to comment.