I have an error message : Erreur : Problem with mutate() column df_stats. df_stats = pmap(...). x nms %in% c("i", "x", "") ne sont pas TRUE. (sorry it's in french).
When I delete the {} around sd, I have my table 1 back but only with the mean and not the sd (which is written like this (sd) next to the calculated mean).
I tried everything but it seems that I don't find a solution. I think I have the last version of RStudio (2021.09.0+351) for mac and I updated all my packages.
I just tried now with your code and I have the same error message. I downloaded the last version of RStudio but the problem still persists. 2021.09.1+372.
And sorry for the screenshot, I will post the code directly the next times, here it was to show the error message