-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hello, I am getting the below error when updating RcppML from 0.3.7 to the current GitHub release.
The error arises when using either Rcpp_nmf_dense or Rcpp_nmf_sparse. It seems related to C++ since both functions are calling C++ code internally which I cannot figure out since my C++ knowledge is limited to non-existent!
I am using RcppML in one of my packages which will be published soon. Although I will revert to using the 0.3.7 version, where the error is not present, I would love to use and incorporate the latest version of RcppML with all the extra functionality it has!
I tried it even with a random 20x5 matrix:
A <- matrix(rnorm(100), ncol = 5, nrow = 20)
The Error:
<error/rlang_error>
Error:
! Expecting a single value: [extent=0].
Caused by error:
! Expecting a single value: [extent=0].
---
Backtrace:
▆
1. └─RcppML::nmf(data = A, k = 2, maxit = 250, seed = 1)
2. └─RcppML:::Rcpp_nmf_dense(...)
Metadata
Metadata
Assignees
Labels
No labels