Skip to contents

Abord bad argument

Usage

abort_bad_argument(arg1, must, not = NULL, arg2 = NULL, same = NULL)

Arguments

arg1

An argument

must

What arg must be

not

Optional. What arg must not be.

arg2

Another argument

same

The same type as arg1

Value

A stop statement