Helper function: resolve the given character vector to its valid elements
Source: R/collect_tern_data.R
dot-normalise_vector_elements.RdHelper function: resolve the given character vector to its valid elements
Arguments
- vec
A
charactervector (of user-supplied elements, e.g., dataset names, variants), orNULL/"all".- valid_elements
A
charactervector containing the valid elements against which thegiven_vecvector should be compared.- info
A
characterstring that describes the elements ingiven_vec(so that errors/warnings are more informative).