Learn R Programming

SticsRFiles (version 1.7.0)

upgrade_tec_xml_9_10: Upgrade _tec.xml file(s) from STICS version 9 to 10

Description

Upgrade _tec.xml file(s) from STICS version 9 to 10

Usage

upgrade_tec_xml_9_10(
  file,
  out_dir,
  param_gen_file,
  param_newform_file,
  overwrite = FALSE
)

Value

None

Arguments

file

Path of a crop management (*_tec.xml) file or a vector of

out_dir

Output directory path of the generated files

param_gen_file

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

param_newform_file

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

overwrite

logical (optional), TRUE for overwriting file if it exists, FALSE otherwise

Details

See get_stics_versions_compat() for listing versions

Examples

Run this code
if (FALSE) {
dir_path <- get_examples_path(file_type = "xml", stics_version = "V9.2")

upgrade_tec_xml_9_10(
  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")
)
}

Run the code above in your browser using DataLab