library(dplyr, warn.conflicts = FALSE)
library(tibble)
d <- tibble(a = 1:3)
# fail
d %>%
mutate(b = tibble(x = 1:3))
#> Error: Column `b` is of unsupported class data.frame
# not fail, but not the expected result...
bind_cols(d, x = tibble(x = 1:3))
#> # A tibble: 3 x 2
#> a x
#> <int> <int>
#> 1 1 1
#> 2 2 2
#> 3 3 3
d2 <- tibble(x = tibble(x = 1:3))
# fail
bind_cols(d, d2)
#> Error: Argument 1 can't be a list containing data frames
Created on 2019-01-27 by the reprex package (v0.2.1)