Wrap checkmate::check_choice to handle its output differently
Source: R/helpers-checkmate.R
chk_choice.RdThis wrapper always returns TRUE or FALSE so that it can be used in conditional statements. If the check fails, it will optionally emit the error message returned by checkmate.