Check that parsed labels are not duplicated
check_parsed_labels(
parsed_labels_output,
field_name,
warn_stripped_text = FALSE,
call = caller_env(n = 2)
)
a warning message alerting specifying the duplicate labels and REDCap field affected
a vector of parsed labels produced by parse_labels()
the name of the field associated with the labels to use in the warning message
logical for whether to include a note about HTML tag stripping in the message
the calling environment to use in the error message. The parent of calling environment by default because this check usually occurs 2 frames below the relevant context for the user