Sets the argument write_tree in test_collection() to be TRUE for R versions higher or equal to 3.2, and FALSE otherwise since the second-level dependency DiagrammeR from data.tree is not available for R < 3.2.

set_arg_write_tree(write_tree)

Arguments

write_tree

Whether or not to write tree.