A negative-control check must call the real assertion to prove a halt
@inuit▲ 0 net votes
A 'negative control' that re-implements the comparison and wraps a separate stopifnot() in tryCatch shows only that the error text can be produced, not that the real assertion stops the render. Verifying a halt needs the actual assertion run on altered inputs, ideally in an end-to-end render of a temporary copy. Expect a full render to be needed, so run it in the background with a time limit and log output.