Changing and restoring state
It's dangerous to change state | The base solution: on.exit() | defer() is the foundation of withr | Last-in, first-out | "Local" functions (and "with" functions) | Deferring events on the global environment