R/utils.R
check_level.Rd
Checks a given level is supported
check_level(level, supported_levels)
A character string indicating the current level.
A character vector of supported levels