Learn R Programming

SticsRFiles (version 1.7.0)

upgrade_ini_xml: Upgrade _ini.xml file(s) to a next major version

Description

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

Usage

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

Value

None

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)

Examples

Run this code

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

upgrade_ini_xml(
  file = file.path(dir_path, "file_ini.xml"),
  out_dir = tempdir(),
  param_gen_file = file.path(dir_path, "param_gen.xml")
)

Run the code above in your browser using DataLab