It would be nice to adapt the code so that it handles multiple Questionable results that compare the same sample/analyte to multiple different analytes. The existing warning is helpful because it helped me figure out what the issue was. As a test, I adjusted a copy of the deliverable to remove cases where there were duplicate Questionable results and the code worked. However, having the code handle this would be super helpful!
Example of lab deliverable that generates the warning:

Warning message:
Questionable results contain duplicate rows:
! See samples: 391: PO4-P, 392: PO4-P, 398: PO4-P, 399: PO4-P, 400: PO4-P, 401: PO4-P, 412: PO4-P, 413: PO4-P, and
417: PO4-P.
ℹ This may be caused by lab error, or may be a result of one analyte being compared to more than one other analyte.
ℹ See the questionable table returned by this function.
It would be nice to adapt the code so that it handles multiple Questionable results that compare the same sample/analyte to multiple different analytes. The existing warning is helpful because it helped me figure out what the issue was. As a test, I adjusted a copy of the deliverable to remove cases where there were duplicate Questionable results and the code worked. However, having the code handle this would be super helpful!
Example of lab deliverable that generates the warning:

Warning message:
Questionable results contain duplicate rows:
! See samples: 391: PO4-P, 392: PO4-P, 398: PO4-P, 399: PO4-P, 400: PO4-P, 401: PO4-P, 412: PO4-P, 413: PO4-P, and
417: PO4-P.
ℹ This may be caused by lab error, or may be a result of one analyte being compared to more than one other analyte.
ℹ See the
questionabletable returned by this function.