Skip to content

Commit 28b5d06

Browse files
committed
Add 2 missing skip_if_not_installed("data.tree")
1 parent 7aa0057 commit 28b5d06

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/testthat/test-create_tree.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
test_that("create_trees outputs identical structure if trees have same structure", {
44
skip_if_not_installed("DiagrammeR")
5+
skip_if_not_installed("data.tree")
56
eq <- "a <- fun(a = b)"
67
arrow <- "a <- data.frame(x = qq)"
78
expect_equal(
@@ -12,6 +13,7 @@ test_that("create_trees outputs identical structure if trees have same structure
1213

1314
test_that("create_trees outputs are not identical structure if trees have different structure", {
1415
skip_if_not_installed("DiagrammeR")
16+
skip_if_not_installed("data.tree")
1517
eq <- "a <- fun(a = 1:3)"
1618
arrow <- "a <- data.frame(x = qq)"
1719
expect_true(

tests/testthat/test-relocate_eq_assign.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Tests code in R/relevel.R
33
test_that("tree hierarchy is the same no matter whether = or <- is used", {
44
skip_if_not_installed("DiagrammeR")
5+
skip_if_not_installed("data.tree")
56
assign_left <- create_tree(
67
"x <- 5
78

0 commit comments

Comments
 (0)