powered by
Check if all objects are of same length
validateIsSameLength(...)
Objects to compare.
If validations are successful, NULL is returned. Otherwise, error is signaled.
NULL
# NOT RUN { # returns `NULL` if of objects are of same length validateIsSameLength(list(1, 2), c("3", "4")) # error otherwise # validateIsSameLength(list(1, 2), c("3", "4"), c(FALSE)) # }
Run the code above in your browser using DataLab