search for: allowexits

Displaying 1 result from an estimated 1 matches for "allowexits".

Did you mean: allowedit
2007 Aug 27
0
Suggestion: Add simpleExit condition
...pleExit(...))) } } 3. That is the basic framework. We can then use tryCatch() to catch and return upon a simpleExit as follows: evalWithExit <- function(...) { tryCatch(..., simpleExit=function(cond) cond) } } Then it is matter of flavor if one wants to update source() with an argument 'allowExits=FALSE' or have a standalone function: sourceWithExit <- function(...) { evalWithExit(source(...)) } 5. The code example() needs to be updated accordingly, i.e. replacing source() with sourceWithExit(). 6. src/scripts/check.in needs to updated so that the examples are sourced detecting s...