Closed AndersAskeland closed 3 hours ago
@pharmaverse/admiralmetabolic A good first issue if there are any takers :)
@AndersAskeland I don't think you have been looking at the latest version. QSORRESU is not "cm" anymore but "mm" and also the bug that all values where 2 had been resolved in the final version.
Woops… you’re right. I was on the wrong branch 😅
What happened?
The
qs_metabolic
dataset contains the value 2 for all records inOSORRES
.The bug is related to the mutate statement for
OSORRES
where we assignOSORRES
using a non-vectorized method (see below). We would need to change this function to either a vectorized function, or change to rowwise operations in the entire mutate call usingdplyr::rowwise()
.Session Information
No response
Reproducible Example
No response