Ensures if given list has pos_x, pos_y and pos_z columns of the same length. Ensures minimum number of rows

validate_positional_list(
  pos_list,
  min_length = 1,
  drop_y = FALSE,
  .fun_name = NULL
)

Arguments

pos_list

Positional list to check

min_length

Ensure tibble has a minimum length. Default is 1

drop_y

Drop checks on pos_y. Default is FALSE

.fun_name

A string containing the name of the calling to use as a prefix in the warning. Default is NULL

Value

TRUE if passes checks, FALSE otherwise. Generates warnings.