Learn R Programming

crtests (version 0.2.1)

argument_match_test: Test function with non-matching arguments

Description

Goes through all the parameters of fun which have a vector of default values. It then calls fun with a different value.

Usage

argument_match_test(fun, args)

Arguments

fun
Function to test
args
Complete list of required arguments to fun