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

make_spatial_info and make_kmeans functions return error for stream network model with RANN version 2.6.2 #394

Open
ACharsley opened this issue Sep 26, 2024 · 1 comment

Comments

@ACharsley
Copy link

Hi,

I recently ran a stream network model with the version 2.6.2 of the RANN package (the most recent CRAN version). I got the following error when using the make_spatial_info / make_kmeans functions:

Error in .C("get_NN_2Set", as.double(data), as.double(query), as.integer(dimension)

However, when I changed back to RANN version 2.6.1, I didn't get this error. This also wasn't an issue when using knot_method = "grid". I don't have time to explore this issue further, but I thought I would flag this issue in case anyone runs into this problem.

@James-Thorson-NOAA
Copy link
Owner

James-Thorson-NOAA commented Sep 26, 2024

OK, thanks for flagging it! I'll keep track of requests here to determine priority for maintenance.

And FWIW, tinyVAST eliminates the RANN dependency for stream-network models, and I think @jeremyharris7 is finding it to be pretty easy to bridge over, in case that's of interest

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