Stop a function early without an error.
Examples
testfun <- function(...) {stop_early(); message("Completed function."); 1}
if(interactive()) testfun()
Stop a function early without an error.
testfun <- function(...) {stop_early(); message("Completed function."); 1}
if(interactive()) testfun()