-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
The litteral NULL cannot be used in a rule. In some cases it is useful to pass NULL explicitly to document default behaviour is desired.
e. g. :
validator( f( x=NULL ) == TRUE )
fails with:
'Error in if (length(x) == 1 || x[[1]] == "function") return x'
error happens as length(NULL) == 0.
Metadata
Metadata
Assignees
Labels
No labels