Clears the open-step stack and resets the internal id counter. Mainly
useful for tests and interactive/knitr re-runs where a previous run may
have left the stack non-empty (e.g. after an uncaught error with no
with_logging() wrapper).
Clears the open-step stack and resets the internal id counter. Mainly
useful for tests and interactive/knitr re-runs where a previous run may
have left the stack non-empty (e.g. after an uncaught error with no
with_logging() wrapper).