are_equivalent_xml_files: Internal function

View source: R/are_equivalent_xmls.R

are_equivalent_xml_filesR Documentation

Internal function

Description

Internal function used for debugging to determine if XML files result in equivalent trees

Usage

are_equivalent_xml_files(filename_1, filename_2, section = NA)

Arguments

filename_1

name of a first XML file

filename_2

name of a second XML file

section

the name of the XML section, use NA to check the whole file

Value

TRUE if the two XML files result in equivalent trees, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

to check for equality, use are_equal_xml_files

Examples

check_empty_beautier_folder()

are_equivalent_xml_files(
  filename_1 = get_beautier_path("2_4.xml"),
  filename_2 = get_beautier_path("2_6_0.xml")
)

check_empty_beautier_folder()

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.