test_returnValue_any: Generically compare two values with RTest

Description Usage Arguments Value Author(s)

View source: R/utils.test.R

Description

This function compares two value by a test_returnValue_... function that fits the class of the reference input parameter.

Usage

1
test_returnValue_any(result, reference, xmlTestSpec)

Arguments

result

(any) Any value of type character, numeric, data.frame or list (image links do not work!)

reference

(any) Any value of type character, numeric, data.frame or list (image links do not work!)

xmlTestSpec

(XMLNode) An XMLNode of type RTest_test_returnValue_...

Value

The function will not return anything but call testthat functions creating outputs in the reporter

Author(s)

Sebastian Wolf sebastian@mail-wolf.de


RTest documentation built on Dec. 4, 2019, 5:07 p.m.