pdhoff / rstiefel

Simulation from distributions on the Stiefel manifold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"rWc" not resolved from current namespace

j-g-b opened this issue · comments

Hello,

Just a heads up: I was getting the error referenced in the title when running functions that relied on calls to underlying C functions in the rstiefel package. Substituting

.C("rWc",PACKAGE="rstiefel", kap=as.double(kap), ... for .C("rWc", kap=as.double(kap), ...

in line 26 of the file rW.R seemed to solve the problem. Similar substitutions in ry_bing.R and ry_bmf.R solved the other namespace issues.

The namespace issue arises when these functions are used inside other functions.
I've updated the code so that this namespace issue should be resolved.