R/load_spec.R
load_spec_any.Rd
Load a specification file, guessing the type
load_spec_any(file, ...)
a yaml file name
arguments passed to ys_load() or ys_load_proj()
ys_load()
ys_load_proj()
class(load_spec_any(file_spec_ex())) #> [1] "yspec" class(load_spec_any(file_proj_ex())) #> [1] "yproj"