There should be specific methods (or just allow to pass dimensions). If we eventually need the data in a matrix format, we have to convert to a data frame to do the check, which seems really inefficient.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
There should be specific methods (or just allow to pass dimensions). If we eventually need the data in a matrix format, we have to convert to a data frame to do the check, which seems really inefficient.