nimStop: Halt execution of a nimbleFunction function method. Part of...

View source: R/nimbleFunction_Rexecution.R

nimStopR Documentation

Halt execution of a nimbleFunction function method. Part of the NIMBLE language

Description

Halt execution of a nimbleFunction function method. Part of the NIMBLE language

Usage

nimStop(msg)

Arguments

msg

Character object to be output as an error message

Details

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

Author(s)

Perry de Valpine


nimble documentation built on Sept. 11, 2024, 7:10 p.m.