powered by
TRUE
as.character(e$val)
val_matches(regular_expression)
FALSE
AnswerTests
any_of_exprs
calculates_same_value
expr_creates_var
expr_identical_to
expr_is_a
expr_uses_func
func_of_newvar_equals
omnitest
val_has_length
var_is_a
# Test that a user has entered a value matching # '[Cc]ollege [Ss]tudents' or has selected it # in a multiple choice question. # val_matches('[Cc]ollege [Ss]tudents')
Run the code above in your browser using DataLab