File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
test_that(" create_trees outputs identical structure if trees have same structure" , {
4
4
skip_if_not_installed(" DiagrammeR" )
5
+ skip_if_not_installed(" data.tree" )
5
6
eq <- " a <- fun(a = b)"
6
7
arrow <- " a <- data.frame(x = qq)"
7
8
expect_equal(
@@ -12,6 +13,7 @@ test_that("create_trees outputs identical structure if trees have same structure
12
13
13
14
test_that(" create_trees outputs are not identical structure if trees have different structure" , {
14
15
skip_if_not_installed(" DiagrammeR" )
16
+ skip_if_not_installed(" data.tree" )
15
17
eq <- " a <- fun(a = 1:3)"
16
18
arrow <- " a <- data.frame(x = qq)"
17
19
expect_true(
Original file line number Diff line number Diff line change 2
2
# Tests code in R/relevel.R
3
3
test_that(" tree hierarchy is the same no matter whether = or <- is used" , {
4
4
skip_if_not_installed(" DiagrammeR" )
5
+ skip_if_not_installed(" data.tree" )
5
6
assign_left <- create_tree(
6
7
" x <- 5
7
8
You can’t perform that action at this time.
0 commit comments