swirl icon indicating copy to clipboard operation
swirl copied to clipboard

Suggestion: check results of operation, not what was typed literally

Open alexey-guryanov opened this issue 9 years ago • 2 comments

It looks like swirl checks what was typed literally. Say, if it's requested to load data with read.csv, and read.csv(path, stringsAsFactors=FALSE) is expected, then read.csv(path, stringsAsFactors=F) is rejected as incorrect.

It may be a better approach to treat student's input as black box, and check the result instead: specific variable, some side effect, etc.

alexey-guryanov avatar Jun 28 '15 20:06 alexey-guryanov