Nothing
Code
assert_function_expects_n_arguments(my_func_dots, 2, dots = "throw_error")
Condition
Error:
! 'my_func_dots' must not contain ... arguments
Code
assert_function_expects_n_arguments(my_func2, 2)
Condition
Error:
! 'my_func2' must expect exactly 2 arguments, not 1
Code
assert_function_expects_n_arguments(123, 1)
Condition
Error:
! '123' must be a function, not a numeric
Code
assert_function_expects_n_arguments(c(1, 2, 3), 2)
Condition
Error:
! 'c(1, 2, 3)' must be a function, not a numeric
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.