Skip to contents

Path to a packaged example file

Usage

tf_example_path(name)

Arguments

name

File name, for example "panic-network.theory.yaml". See tf_example_names().

Value

The path to the installed file. A name that matches no installed file stops with an error that lists the names tf_example_names() returns.

Examples

tf_read(tf_example_path("panic-network.theory.yaml"))$id
#> [1] "panic-network-2026"