Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
HaoZeke opened this issue Oct 22, 2023 · 1 comment
Closed

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

HaoZeke opened this issue Oct 22, 2023 · 1 comment
Labels
maintenance ropensci-review Issues related to the ROpenSci review
Milestone

Comments

@HaoZeke
Copy link
Member

HaoZeke commented Oct 22, 2023

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 HaoZeke added ropensci-review Issues related to the ROpenSci review maintenance labels Oct 22, 2023
@HaoZeke HaoZeke added this to the v1.0.0 milestone Oct 22, 2023
@HaoZeke
Copy link
Member Author

HaoZeke commented Oct 23, 2023

Users should use write_fmm instead..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance ropensci-review Issues related to the ROpenSci review
Projects
None yet
Development

No branches or pull requests

1 participant