ropensci/fastMatMR

MAINT: Better error messages for sparse vs non-sparse matrics

HaoZeke opened this issue · 1 comments

improve error message? It is a matrix, just sparse, not plain

mat_to_fmm(sparse_mat, "sparse_matrix.mtx")
#> Error in mat_to_fmm(sparse_mat, "sparse_matrix.mtx") : object is not a matrix

First noted here: ropensci/software-review#606 (comment).

Users should use write_fmm instead..