assert: Checks if unit or number 0-1

assert_unitR Documentation

Checks if unit or number 0-1

Description

Checks if unit or number 0-1

Assert that its a string or number

Assert valid color

Usage

assert_unit(var, allow_missing = TRUE)

assert_label(var, allow_missing = TRUE)

assert_just(var, allow_missing = TRUE)

Arguments

var

Variable 2 check

allow_missing

Allow missing variables

Value

void

void

void


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.