// test if 'a' is 42, and if not stop the execution of the code and print // some error message if (a != 42) { stop("a is not 42 as expected, therefore I stop until this issue is resolved!"); }