Using formattable::formattable() within tribble() fails when there is more than one column.
Perhaps similar to #784?
library(tibble) # 3.0.1
library(formattable) # 0.2.0.1
# works
tribble(~x, formattable(1.0, 1))
#> # A tibble: 1 x 1
#> x
#> <formttbl>
#> 1 1
# fails
tribble(~x, ~y, 1, formattable(1.0, 1))
#> Error in create_obj(f(remove_class(x, class), ...), class, attr(x, class, : argument "x" is missing, with no default
Using
formattable::formattable()withintribble()fails when there is more than one column.Perhaps similar to #784?