You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hnswlib 0.8.0 was recently released, and adds calls to std::cerr, under some conditions. As part of preparing RcppHNSW for a new CRAN release, BiocNeighbors is causing a reverse dependency check failures due to triggering a CRAN check WARNING.
I am not sure how much CRAN cares about Bioconductor reverse dependency changes (or if it's a problem for this package to call std::cerr), but to fix this, you could create a header file like:
and include that file wherever you are including hnswlib.h currently. I seem to recall there was something similar with hnswlib and using a #define to opt out of the non-standard optimizations for the distance calculations.
Thanks @jlmelville; sorry for the late reply. I've added the suggested #define to hnsw.h, which should cover all of the within-package usages of hnswlib.h (see 8abf622). This has been pushed to BioC-devel, and if it builds fine there (and if I remember), I'll push it to BioC-release.
hnswlib 0.8.0 was recently released, and adds calls to
std::cerr
, under some conditions. As part of preparing RcppHNSW for a new CRAN release, BiocNeighbors is causing a reverse dependency check failures due to triggering a CRAN check WARNING.I am not sure how much CRAN cares about Bioconductor reverse dependency changes (or if it's a problem for this package to call
std::cerr
), but to fix this, you could create a header file like:and include that file wherever you are including
hnswlib.h
currently. I seem to recall there was something similar with hnswlib and using a#define
to opt out of the non-standard optimizations for the distance calculations.See nmslib/hnswlib#508 for more on the hnswlib side.
The text was updated successfully, but these errors were encountered: