Load a specification file, guessing the type

load_spec_any(file, ...)

Arguments

file

a yaml file name

...

arguments passed to ys_load() or ys_load_proj()

Examples


class(load_spec_any(file_spec_ex()))
#> [1] "yspec"

class(load_spec_any(file_proj_ex()))
#> [1] "yproj"