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

upgrade_tec_xml(
  file,
  out_dir,
  param_gen_file,
  param_newform_file,
  ...,
  overwrite = FALSE
)

Arguments

file

xml technical 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

param_newform_file

Path of the param_newform.xml file corresponding to the file version

...

additional argument(s) to pass to called functions

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_tec_xml(
  file = file.path(dir_path, "file_tec.xml"),
  out_dir = tempdir(),
  param_gen_file = file.path(dir_path, "param_gen.xml"),
  param_newform_file = file.path(dir_path, "param_newform.xml")
)