Hello there,
I've been trying to use the na.rm argument in unite()
but it doesn't show up as an autocomplete-suggested-argument when typing "na.rm" in RStudio console/script. Furthermore, even if I just manually type and add na.rm = TRUE
, the result is that the output doesn't omit the NAs seen in the original data column, but rather pastes them as-is. Thus, I conclude, na.rm
argument simply does not work in unite()
.
This is despite the output for arg(unite)
showing:
function (data, col, ..., sep = "_", remove = TRUE, na.rm = FALSE)
.
I've replicated the problem both on my local machine and on Rstudio Cloud.
Version of tidyr
I'm using is 1.0.0
Is this a bug? Or am I missing something very basic?
Thanks,
Emmanuel