deprecated-cnd

0th

Percentile

Deprecated condition constructors

These functions were deprecated in rlang 0.2.0 to follow the convention that return types are indicated as suffixes. Please use cnd(), error_cnd(), warning_cnd() and message_cnd() instead.

Keywords
internal
Usage
new_cnd(.type = NULL, ..., .msg = NULL)

cnd_error(.type = NULL, ..., .msg = NULL)

cnd_warning(.type = NULL, ..., .msg = NULL)

cnd_message(.type = NULL, ..., .msg = NULL)

Arguments
.type

The condition subclass.

...

Named data fields stored inside the condition object. These dots are evaluated with explicit splicing.

.msg

A default message to inform the user about the condition when it is signalled.

Aliases
  • deprecated-cnd
  • new_cnd
  • cnd_error
  • cnd_warning
  • cnd_message
Documentation reproduced from package rlang, version 0.2.0, License: GPL-3

Community examples

Looks like there are no examples yet.