You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a tibble with a NULL column no column is created. If the column is a numeric(0) vector, thant the tibble has no line (but the column is created). I may have missed the logic or a previous issue.
library(tibble)
# gives a one line tibble with one column
tibble(a=1, b=NULL)
# gives an empty tibble (surprinsingly and I'd prefer solution 1)
tibble(a=1, b=numeric(0))
The text was updated successfully, but these errors were encountered:
When creating a tibble with a NULL column no column is created. If the column is a numeric(0) vector, thant the tibble has no line (but the column is created). I may have missed the logic or a previous issue.
The text was updated successfully, but these errors were encountered: