Closed a-torgovitsky closed 4 years ago
Sorry, my mistake, this is a necessary argument because it needs lpm
.
Do you think I can assign NULL
as the default here, so that the code can produce an error message that the farg
argument is required and it has to be a list of arguments for the testing procedures?
Currently, the 'checks' part of the code is checking whether farg
is a list
.
However, this part of checking inputs cannot be ran if the user pass nothing to farg
, and results in the above less informative error message.
Thanks!
If you default to an empty list (list()
) won't that solve it?
Then if the user doesn't pass anything, the empty list gets passed to whatever testing procedure they use, and then that testing procedure will complain that it does not have enough inputs.
Yes, that's right! I have just updated the code.
gives
but
has the expected behavior of using the defaults in
fsst