check_format_statistics: Checks the output of function format_statistics

View source: R/check_format_statistics.R

check_format_statisticsR Documentation

Checks the output of function format_statistics

Description

Checks the output of function format_statistics.

Usage

check_format_statistics(x)

Arguments

x

Result of function format_statistics.

Value

TRUE if x has the following properties: x is a non-empty data.frame with 2 columns called 'tag' and 'value'. Column 'tag' has class factor and no duplicates. Column 'value' is a character. Else throws an error.


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