Skip to content

Commit

Permalink
use expect_null
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Dec 2, 2024
1 parent 714b369 commit 6649fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tinytest/test_bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ expect_true(all(tree1$node.label[-1] <= tree2$node.label[-1]))
tree3 <- addConfidences(tree, bs_trees)
expect_equal(tree1, tree3)
nnet2 <- addConfidences(nnet, bs_trees)
expect_true(is.null(attr(nnet$splits, "confidences")))
expect_null(attr(nnet$splits, "confidences"))
expect_false(is.null(attr(nnet2$splits, "confidences")))

dat <- Laurasiatherian[sample(47, 10)] |> as.character() |> phyDat()
Expand Down

0 comments on commit 6649fc1

Please sign in to comment.