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/styledTables documentation built on Feb. 6, 2024, 2:21 a.m.