Halt execution of a nimbleFunction function method. Part of the NIMBLE language
nimStop(msg)
Character object to be output as an error message
Perry de Valpine
The NIMBLE stop
is similar to the native R stop
, but it takes only one argument, the error message to be output. During uncompiled NIMBLE execution, nimStop
simply calls R's stop funtion. During compiled execution it calls the error function from the R headers. stop
is an alias for nimStop
in the NIMBLE language