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

Slingshot package ------ Error in crossprod(out) : "crossprod" is not BUILTIN function #251

Open
yolo177 opened this issue Jun 9, 2024 · 1 comment

Comments

@yolo177
Copy link

yolo177 commented Jun 9, 2024

When I run this code:
slingshot(rd2, reducedDim = rd2,
clusterLabels = ChuCellTypes$Time,
start.clus = '00h', end.clus = '96h')
I encountered an error : Error in crossprod(out) : “crossprod” is not BUILTIN function

Initially, I thought it was a data or package version issue, but even after updating all packages, the error persists. Then, I tried to run the example code provided in the documentation for the slingshot function:

data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
Still, it resulted in the same error: “Error in crossprod(out) : “crossprod” is not BUILTIN function”

Could someone please help me? Thank you very much!

@kstreet13
Copy link
Owner

Hi @yolo177,

Thanks for bringing this to my attention! I don't know much about this, but apparently the crossprod function was recently changed in a subtle way that breaks pre-compiled packages (based on this thread). Slingshot doesn't directly call crossprod, so this is likely an issue with TrajectoryUtils. Can you try downloading that package and installing from source and let me know if that solves the problem?

Thanks,
Kelly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants