Unlists a nested list and removes NA values and duplicates.
Source:R/utils-matchNested.R
unlistNested.RdThis function takes a nested list as input and unlists it recursively. It then removes any NA values and duplicates from the resulting vector.