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 22
33test_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
1314test_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(
Original file line number Diff line number Diff line change 22# Tests code in R/relevel.R
33test_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
You can’t perform that action at this time.
0 commit comments