validate several phases reported in metadata_phase.txt
Source: R/validations.R
validate_multiple_phases.RdValidate a pipe separated combination of phases, dispatching to the right set of rules:
Animal: only the
PASS1A-##|PASS1C-##pair is supported (seevalidate_two_phases())Human: every phase must be either
HUMAN-PRECOVIDorHUMAN-MAIN-TR##, and no phase can be reported twice. Any number of phases is accepted.
Human and animal phases cannot be combined: it throws an error.