You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the newest version M3Drop based on >=R.4.2, will return error " the condition has length > 1" . I check the source code, the bug is in the function of "bg__calc_variables": if (class(expr_mat) != "matrix" & class(expr_mat) != "dgCMatrix" & class(expr_mat) != "Matrix") { warning("Warning: not a recognized matrix class, coercing to 'matrix'.") expr_mat <- as.matrix(expr_mat) }
Maybe you could fix it by rewrite this condition~
Best
The text was updated successfully, but these errors were encountered:
Hi~
I found that the newest version M3Drop based on >=R.4.2, will return error " the condition has length > 1" . I check the source code, the bug is in the function of "bg__calc_variables":
if (class(expr_mat) != "matrix" & class(expr_mat) != "dgCMatrix" & class(expr_mat) != "Matrix") { warning("Warning: not a recognized matrix class, coercing to 'matrix'.") expr_mat <- as.matrix(expr_mat) }
Maybe you could fix it by rewrite this condition~
Best
The text was updated successfully, but these errors were encountered: