Upgrade _sta.xml file(s) to a next major version

upgrade_sta_xml(file, out_dir, param_gen_file, overwrite = FALSE)

Arguments

file

xml plant file path or a vector of

out_dir

Output directory path

param_gen_file

Path of the param_gen.xml file corresponding to the initial version

overwrite

Logical TRUE for overwriting files, FALSE otherwise (default)

Value

None

Examples


dir_path <- get_examples_path(file_type = "xml", stics_version = "V10.0")

upgrade_sta_xml(
  file = file.path(dir_path, "file_sta.xml"),
  out_dir = tempdir(),
  param_gen_file = file.path(dir_path, "param_gen.xml")
)