set_status: Set the status in a check

View source: R/helpers.R

set_statusR Documentation

Set the status in a check

Description

This function sets the status in a check.

Usage

set_status(status)

Arguments

status

(character) The status message to set.

Details

Repeated calls to this function within a single check has special behavior:

  • If the status is ever set to FAILURE, it cannot be set back to SUCCESS

  • If the status is ever set to SUCCESS, it can always be set to FAILURE

Value

This function is invoked for its side-effect.


NCEAS/metadig-r documentation built on June 17, 2022, 5:09 a.m.