MAINT: Better error messages for sparse vs non-sparse matrics
HaoZeke opened this issue · 1 comments
HaoZeke commented
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).
HaoZeke commented
Users should use write_fmm
instead..