assert_value_: Check if a variable holds an allowed value (without non...

View source: R/utilities.R

assert_value_R Documentation

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

Description

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

Usage

assert_value_(var, var_name, values)

Arguments

var

Variable whose value should be checked

var_name

name of the 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.