Given that exit_code is some integer value, what would be R's equivalent of Python's sys.exit(exit_code)?
Does the stop() or stopifnot() function do what you need?
This should answer this question:
Given that exit_code is some integer value, what would be R's equivalent of Python's sys.exit(exit_code)?
Does the stop() or stopifnot() function do what you need?
This should answer this question: