Currently, if a user provides more labels for scenarios than there are scenarios to plot (ie, the length of labels exceeds the length of the data vector, be it x, y, top, or right), a cryptic error results (Error in validGP(list(...)) : Invalid font face).
Obviously, we want a more appropriate error, such as:
The number of labels given to ropeladder exceeds the number of datapoints to plot.
Currently, if a user provides more labels for scenarios than there are scenarios to plot (ie, the length of
labels
exceeds the length of the data vector, be itx
,y
,top
, orright
), a cryptic error results (Error in validGP(list(...)) : Invalid font face
).Obviously, we want a more appropriate error, such as:
The number of labels given to ropeladder exceeds the number of datapoints to plot.