check_alias_mapping: Checks the output of function create_alias_mapping

View source: R/check_alias_mapping.R

check_alias_mappingR Documentation

Checks the output of function create_alias_mapping

Description

Checks the output of function create_alias_mapping.

Usage

check_alias_mapping(Alias_mapping)

Arguments

Alias_mapping

Result of function create_alias_mapping.

Value

TRUE if x has the following properties: Alias_mapping is a non-empty data.frame with character columns 'old' and 'new', without NA and "". Column 'new' has no duplicates. Else throws an error. Prints the duplicates of column 'new', if available.


atable documentation built on Sept. 17, 2023, 5:06 p.m.