Ensures if given tibble has either rot_x, rot_y and rot_z columns or gaze_direction_x, gaze_direction_y and gaze_direction_z columns

validate_has_gaze_or_rotation(df, .fun_name = NULL)

Arguments

df

The tibble to check

.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.