Is the object a valid position
is_valid_position.Rd
The function tests an object (tibble) for several requirements:
columns `object`, `x` and `y` are present.
`object` column contains unique values
no value missing in `x` and `y`
`x` and `y` are numeric
Examples
example_pos <-
tibble::tibble(object = 1:8, x = 1:8, y = 4 - (1:8))
is_valid_position(example_pos)
#> [1] TRUE