
invalid .id
===========

> df1 <- tibble(x = 1:3)
> df2 <- tibble(x = 4:6)
> bind_rows(df1, df2, .id = 5)
Error: `.id` must be a scalar string, not a double vector of length 1.


invalid type
============

> ll <- list(1:5, env(a = 1))
> bind_rows(ll)
Error: Argument 1 must have names.

> ll <- list(tibble(a = 1:5), env(a = 1))
> bind_rows(ll)
Error: Argument 2 must be a data frame or a named atomic vector.

> df1 <- tibble(a = factor("a"))
> df2 <- tibble(a = 1L)
> df3 <- tibble(a = 1)
> bind_rows(df1, df2)
Error: Can't combine `..1$a` <factor<127a2>> and `..2$a` <integer>.

> bind_rows(df1, df3)
Error: Can't combine `..1$a` <factor<127a2>> and `..2$a` <double>.

> df1 <- tibble(b = c(1, 2))
> df2 <- tibble(b = c(1L, 2L))
> df3 <- tibble(b = factor(c("A", "B")))
> df4 <- tibble(b = c("C", "D"))
> bind_rows(df1, df3)
Error: Can't combine `..1$b` <double> and `..2$b` <factor<4c40e>>.

> bind_rows(df1, df4)
Error: Can't combine `..1$b` <double> and `..2$b` <character>.

> bind_rows(df2, df3)
Error: Can't combine `..1$b` <integer> and `..2$b` <factor<4c40e>>.

> bind_rows(df2, df4)
Error: Can't combine `..1$b` <integer> and `..2$b` <character>.


unnamed vectors
===============

> bind_rows(1:2)
Error: Argument 1 must have names.


incompatible size
=================

> bind_cols(a = 1:2, mtcars)
Error: Can't recycle `a` (size 2) to match `..2` (size 32).

> bind_cols(mtcars, a = 1:3)
Error: Can't recycle `..1` (size 32) to match `a` (size 3).

