check_filter_datanames: Check 'datanames' in filters

View source: R/utils.R

check_filter_datanamesR Documentation

Check datanames in filters

Description

This function checks whether datanames in filters correspond to those in data, returning character vector with error messages or TRUE if all checks pass.

Usage

check_filter_datanames(filters, datanames)

Arguments

filters

(teal_slices) object

datanames

(character) names of datasets available in the data object

Value

A character(1) containing error message or TRUE if validation passes.


teal documentation built on May 29, 2024, 10:11 a.m.