Skip to contents

TreePPL example files

Usage

treepplr_example(path = NULL)

Arguments

path

Optional. Name of example file. If NULL, returns a list of all example files. in the extdata directory.

Value

A list of files or a path to one example file.

Examples

treepplr_example()
#> [1] "coin.tppl"
treepplr_example("coin.json")
#> Error in system.file("extdata", path, package = "treepplr", mustWork = TRUE): no file found