Serializes mighty_config, study_config, and mighty_study objects back
to YAML files. mighty_config and study_config inherit the
S7schema::write_config() method of their parent class; mighty_study adds
a method that writes every domain plus _mighty.yml and _study.yml.
Usage
write_config(x, path = NULL)
## S7 method for class <mighty.metadata::mighty_study>
write_config(x, path = NULL)Arguments
- x
A mighty_config, study_config, or mighty_study object.
- path
Destination to write to. A file for mighty_config and study_config, a directory for mighty_study. If
NULL, defaults to the source the object was loaded from. Objects built from.datahave@fileset toNULL, sopathmust be supplied explicitly for those.
