Thank you for the feedback, yarnabrina! I've reproduced a minimal reproducible dataset as advised below. I've also included the additional participant ID (pid) column for reference.
datapasta::df_paste(head(CARRS, 10)[, c('pid', 'sbp1', 'sbp2', 'sbp3')])
data.frame(
pid = c(20001, 20001, 20001, 20002, 20002, 20002, 20003, 20003, 20003,
20004),
sbp1 = c(91, NA, NA, 119, 123, NA, 103, 105, 116, 105),
sbp2 = c(95, NA, NA, 111, 125, NA, 103, 107, 118, 104),
sbp3 = c(NA, NA, NA, NA, NA, NA, NA, NA, 118, NA)
)
As for the detailed error messages, I have no clue! I just copy-pasted the error message from RStudio.