It seems that line plot does not support row names for the Y matrix which start with numbers. This is acceptable but there should be a clear error message...
Error in tidyr::pivot_longer():
! Problem while evaluating all_of(mn_xy).
Caused by error in all_of():
! Can't subset elements that don't exist.
✖ Elements X1X, X2X, and X3X don't exist.
Run rlang::last_error() to see where the error occurred.
It seems that line plot does not support row names for the Y matrix which start with numbers. This is acceptable but there should be a clear error message...
Example
Error in
tidyr::pivot_longer()
: ! Problem while evaluatingall_of(mn_xy)
. Caused by error inall_of()
: ! Can't subset elements that don't exist. ✖ ElementsX1X
,X2X
, andX3X
don't exist. Runrlang::last_error()
to see where the error occurred.