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
coalesce also doesn't follow the factor conversion rules outlined at the link
# Factor + Character doesn't work
a <- c("first", "second", NA) %>% as.factor()
b <- "third"
coalesce(a, b)
# The warning message is also confusing here: Error: Vector 1 has type 'character' not 'integer'
# Factor + factor with different levels returns a warning but doesn't do anything
b <- as.factor(b)
coalesce(a, b)
The text was updated successfully, but these errors were encountered:
coalesce
doesn't coerce an integer to a doubleThe conversation rules here seem to suggest that integer to double should be allowable? r-lib/vctrs#7
bind_rows
does coerce integers to doubles, which is what initially confused me about which coercions allowed.coalesce also doesn't follow the factor conversion rules outlined at the link
The text was updated successfully, but these errors were encountered: