Skip to contents

Methods for the S7schema::write_config() generic that serialize mighty_config and mighty_study objects back to YAML files.

Usage

write_config(x, path = NULL)

## S7 method for class <mighty.metadata::mighty_config>
write_config(x, path = NULL)

## S7 method for class <mighty.metadata::mighty_study>
write_config(x, path = NULL)

Arguments

x

A mighty_config or mighty_study object.

path

Directory to write to. If NULL, defaults to the source directory the object was loaded from.

Value

Invisibly returns x.