check_modules_datanames: Check 'datanames' in modules

View source: R/utils.R

check_modules_datanamesR Documentation

Check datanames in modules

Description

This function ensures specified datanames in modules match those in the data object, returning error messages or TRUE for successful validation.

Usage

check_modules_datanames(modules, datanames)

Arguments

modules

(teal_modules) 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.