assert_value: Check if a variable holds an allowed value (using non...

View source: R/utilities.R

assert_valueR Documentation

Check if a variable holds an allowed value (using non standard evaluation)

Description

Check if a variable holds an allowed value (using non standard evaluation)

Usage

assert_value(var, values)

Arguments

var

Variable whose value should be checked

values

(vector) A vector of allowed values


R-package/styledtable documentation built on May 25, 2023, 6:12 p.m.