Internal debug function to compare the actually created lines to expected lines using any diff tool

compare_lines(
  lines,
  expected,
  section = NA,
  created_lines_filename = "created.xml",
  expected_lines_filename = "expected.xml"
)

Arguments

lines

the created lines

expected

the expected/goal/target lines

section

the XML section. Leave at NA to compare all lines

created_lines_filename

name of the file where the (section of the) created lines are stored

expected_lines_filename

name of the file where the (section of the) expected lines are stored

Value

nothing. Instead, two files are created, with the names created_lines_filename and expected_lines_filename that contain the section under investigation, so that a diff tool can compare these

Author

Richèl J.C. Bilderbeek