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.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.