Upgrade a param_newform.xml file to a next major version

upgrade_param_newform_xml(
  file,
  out_dir,
  param_gen_file,
  ...,
  overwrite = FALSE
)

Arguments

file

xml param_newform file path or a vector of

out_dir

Output directory path

param_gen_file

Path of the param_gen.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_param_newform_xml(
  file = file.path(dir_path, "param_newform.xml"),
  out_dir = tempdir(),
  param_gen_file = file.path(dir_path, "param_gen.xml")
)
#> Warning: /var/folders/36/tjdph2t965j8snz9_vkdnw0r0000gn/T//Rtmp4pt0js/param_newform.xml: 
#> already exists, consider setting overwrite to TRUE