run_xml_tests: Compare all XML files in a directory to their counterparts in...

View source: R/xml.R

run_xml_testsR Documentation

Compare all XML files in a directory to their counterparts in the output

Description

The 'old' directory should contain reference versions of the files. The 'new' directory should be the directory where the output xml files are stored. The old directory is searched recursively; the new directory is not (because the new system currently dumps all of its outputs into a single output directory).

Usage

run_xml_tests(olddir, newdir = XML_DIR)

Arguments

olddir

Directory containing the old (reference) output xml files

newdir

Directory containing the new output xml files

Value

Number of discrepancies found.


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.