R: Set the write_tree argument

set_arg_write_tree {styler} | R Documentation

## Set the write_tree argument

### Description

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.

### Usage

    set_arg_write_tree(write_tree)

### Arguments

`write_tree` | Whether or not to write tree.

[Package styler version 1.0.2 Index]