-
Notifications
You must be signed in to change notification settings - Fork 31
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
Accomodate updated (Rcpp)Annoy and the added Annoy namespace #111
Conversation
LGTM! Many thanks for your continued support of the bindings to Annoy, as well as making upgrading so easy. I will start the procedure for making a new release of uwot to CRAN. |
Actually there will be a slight delay to the prepping of the new release of uwot as I finally managed to fill up my hard drive doing the reverse dependency check. I hope Samsung appreciates my devotion to open source software enhancing their bottom line due to the more capacious SSD I have just purchased. |
Thanks much -- I see from CRANberries that the new release is up! RcppAnnoy will follow in a day or so. |
Thanks again @eddelbuettel |
Sad puppy here. Tried uploading to CRAN but got back a delta in tests from Seurat (may be the multithreading) but also:
Seemingly we didn't update
|
Looks like I missed one line. Bad Dirk. New PR coming. Truly sorry for the trouble. |
Hi James,
Annoy upstream is as you know fairly stable, so I do not chase each and every update. I did update a few days ago though when I saw @erikbern updating to 0.17.3. And it turns out this version brings a C++ namespace which is a little disruptive in that we didn't have one before -- but then the changes are so small that it is pretty quick (once one recovers from the usual pages of C++ compiler errors). The simplest way, I found, was to simply properly prefix indetifiers, and that is The Right Thing (TM) to do anyway.
Now, given that I altered my exposed API headers I figured I should check. Turns out scDHA does not compile (but use your package through the R interface -- and is shielded). Your package just needs the same
Annoy::
prefixing in one header.I wrapped it into one bigger
#ifdef
that allow us to coexist now (compiles with CRANRcppAnnoy
and the release candidate in the GH repo) and allows you to, in due course, just remove the else branch. If you think this works you can just merge, and once your new version gets to CRAN I can update too.Let me know if that works for you.
Best, Dirk