brodieG / unitizer

Easy R Unit Tests
Other
39 stars 6 forks source link

Quitting Browser During Test Review Produces No Message #291

Open brodieG opened 2 years ago

brodieG commented 2 years ago

During test evaluation, we see on hitting Q

| Unexpectedly exited evaluation attempt when executing test expression:
| > identical(group_exec(r2c_sum, sort(g), x, sorted = TRUE), c(tapply(x,     
| sort(g), sum)))
| Make sure you are not calling `unitize` inside a `tryCatch`/`try` block, 
| invoking a restart defined outside `unitize`, evaluating an expression that 
| calls `quit()`/`q()`, or quitting from a `browser()`/`debug()`/`trace()`. If 
| none of these apply yet you are seeing this message please contact package 
| maintainer.

But if we are debugging during review (i.e. at the unitizer prompt) and we hit Q, then we crash out without any message. Related, is there a quit restart?