upgrade_plt_xml {SticsRFiles} | R Documentation |
Upgrading _plt.xml file(s) to a newer version
Description
Upgrading _plt.xml file(s) to a newer version
Usage
upgrade_plt_xml(
file,
out_dir,
param_newform_file,
param_gen_file,
stics_version = "V9.2",
target_version = "V10.0",
check_version = TRUE,
overwrite = FALSE,
...
)
Arguments
file |
Path of an plant (*_plt.xml) file or a vector of |
out_dir |
Output directory path of the generated files |
param_newform_file |
Path of the param_newform.xml file corresponding to the file version |
param_gen_file |
Path of the param_gen.xml file corresponding to the file version |
stics_version |
Name of the STICS version (VX.Y format) |
target_version |
Name of the STICS version to upgrade files to (VX.Y format) |
check_version |
Perform version consistency between |
overwrite |
logical (optional), TRUE for overwriting file if it exists, FALSE otherwise |
... |
Additional input arguments |
Details
See get_stics_versions_compat() for listing versions
Value
None
Examples
dir_path <- get_examples_path(file_type = "xml", stics_version = "V9.2")
upgrade_plt_xml(
file = file.path(dir_path,"file_plt.xml"),
out_dir = tempdir(),
param_newform_file = file.path(dir_path, "param_newform.xml"),
param_gen_file = file.path(dir_path, "param_gen.xml")
)
[Package SticsRFiles version 1.4.0 Index]