Utility for testing how a function deals with missing required arguments. It calls the function length(args) times, each time
omitting one argument
missing_argument_test(fun, args, outcomes)
Function to test
Complete list of required arguments to fun
List of length args with expected outcomes for each test. Names should match those of args. Values should be either "FAIL", if the test is expected to throw an error, or anything else if it is expected to pass.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.