Checks if a title was specified for a markdown header. If not, generates a feedback message. If yes, zooms in on the title so you can use check_equal.

check_title(state, not_found_msg = NULL, append = TRUE)

Arguments

state

the state to start from. Should be a state produced by check_header.

not_found_msg

If specified, this overrides the automatically generated message in case no title was specified.

append

Whether or not to append the feedback to feedback built in previous states.

Value

A state that zooms in on the title of the header.