Closed Xiaojieqiu closed 6 years ago
Shoot, sorry about this newly introduced bug. Working on this today, will have a fix on GitHub tonight. I'll plan for a bug fix release to CRAN by the end of the week or so.
temporary work-around: supply an explicit scaling vector instead of TRUE/FALSE
Try the GitHub master branch now. I have a few other issues to fix and then will submit to CRAN again.
This should be fixed on CRAN version 2.3.2, please re-open if you still have troubles.
when you set
scale. = TRUE
in theprcomp_irlba
function, it will throw an errorI think the error comes from the variable
center
inline 94
of the prcomp.R file, it should beargs$center
instead ofcenter
becausecenter
is a logic value by default.