You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(func_arg_count(func) == 0){
if (func_supports_variable_arguments(func))
additional_note = " (Note '...' does NOT count as an argument)"
else additional_note = ""
cli::cli_abort("`{function_name}` must have at least 1 paramater to be used in `assert_create`{additional_note}")
}
Since func_arg_count will actually error because with default settings it doesn't know how to count function arguments when ... is present. This means the additional note is actually impossible to reach.
To fix and get the code running as intended, we can set dots="count_as_0"
The text was updated successfully, but these errors were encountered:
In assert create there is this section of code
Since func_arg_count will actually error because with default settings it doesn't know how to count function arguments when
...
is present. This means the additional note is actually impossible to reach.To fix and get the code running as intended, we can set
dots="count_as_0"
The text was updated successfully, but these errors were encountered: