allow NULL response in response-checking

minor fixes to doc (\code{\link{}}, not \link{\code{}})