Selectively clears the based_on, copied_from, and/or tags fields in
the metadata file associated with a model. Fields not selected are left
unchanged.
Value
The model's updated metadata, as returned by get_model_metadata()
Examples
if (FALSE) { # \dontrun{
clear_metadata_file("model/nonmem/run001.mod", tags = TRUE)
model <- read_model("model/nonmem/run001.mod")
clear_metadata_file(model, based_on = TRUE, copied_from = TRUE)
} # }