powered by
Check that x and y have the same length.
x
y
check_equal_length(x, y, nm_x, nm_y)
'TRUE', invisibly.
Arguments to compare
Names to use in error message
x <- 1:3 y <- 3:1 check_equal_length(x = x, y = y, nm_x = "x", nm_y = "y")
Run the code above in your browser using DataLab