This read from the yspec object meta data via get_meta.

ys_spec_file(x)

Arguments

x

a yspec object

Examples

spec <- load_spec_ex()
ys_spec_file(spec)
#> [1] "/tmp/RtmpvD30ma/temp_libpath1db469dc7f5c/yspec/spec/spec.yml"