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?
tibble::frame_matrix( 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)