Skip to content

tribble incompatible with formattable #785

@odaniel1

Description

@odaniel1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions