Could someone walk me through the specific side effects and internals of base::setTimeLimit()
?
Reason: I am trying to impose optional timeouts for drake targets, and I turned to R.utils::withTimeout()
, which uses base::setTimeLimit()
. Drake timeouts work in an interactive R session, but they are unreliable when I test them into unit tests. I want to dig into the ways that base::setTimeLimit()
modifies the global environment so I can do more debugging.