Challenge Difficulty Levels
difficulty_levels format_difficulty(params)
params | Challenge parameters as |
---|
difficulty_levels
is a character vector of valid difficulty levels.
format_difficulty()
returns a character value indicating the challenge difficulty.
difficulty_levels #> [1] "Novice" "Intermediate" "Advanced" params <- list(difficulty = "novice") cat(format_difficulty(params)) #> Novice