Load a specification file, guessing the type
Arguments
- file
a yaml file name
- ...
arguments passed to
ys_load()orys_load_proj()
Examples
class(load_spec_any(file_spec_ex()))
#> [1] "yspec"
class(load_spec_any(file_proj_ex()))
#> [1] "yproj"
Load a specification file, guessing the type
a yaml file name
arguments passed to ys_load() or ys_load_proj()
class(load_spec_any(file_spec_ex()))
#> [1] "yspec"
class(load_spec_any(file_proj_ex()))
#> [1] "yproj"