argument 'switches' must be character.
