Path to a packaged example file
Arguments
- name
File name, for example
"panic-network.theory.yaml". Seetf_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"