Supply rownames to tibble::frame_matrix()

I recently found the very useful tibble::frame_matrix() function that works similarly to tibble::tribble(). It's super readable and useful, but I can't seem to supply rownames in the expected format. It looks like in development this was intended to work. Anyone else ever tried this?

  NULL,  ~col1, ~col2,
  ~row1,    10,     3,
  ~row2,     3,     2
#> Error:
#> ! Must specify at least one column using the `~name` syntax.

Created on 2022-03-28 by the reprex package (v2.0.1)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.