Raise error if repgrid object has ratings other than 0/1
stop_if_not_0_1_ratings_only(x, name = "x")
x
A repgrid object.
repgrid
name
Name of tested variable in error message.