Simple wrapper around write_metadata_to_desc for updating a single key.
Creates a metadata structure with just the specified key and writes it.
Usage
update_metadata(key, data, base_path = NULL, verbose = TRUE)
Arguments
- key
Top-level key (e.g., "datasets", "package")
- data
Data to add/update for the key
- base_path
Base path for the project
- verbose
Whether to show messages