check_statistics: Checks the output of function statistics
Description
Checks the output of function statistics.
Usage
check_statistics(x)
Value
TRUE if x has the following properties:
x is a named list with length > 0.
The names of the list must not have duplicates.
The names may contain NA. Else an error.