Closed davismcc closed 7 years ago
hi davis, nice to hear from you!
i’ll check if i can reproduce that. in the meantime:
this is probably where the error happens. as you can see, it’s normal that FNN::get_KNN_cover
doesn’t exist as an R symbol, as it’s a C function called via .C
.
a shot in the dark: recently Rcpp started creating code for registering native routines, since R 3.4 has now this. maybe the newest version of FNN does R_useDynamicSymbols(false)
but doesn’t register that function?
could you please check the output of: getCallingDLLe(getNamespace('FNN'))
?
but in any case, it’s a bug in FNN, and should probably be reported there.
Hi Davis, I’ve removed FNN from destiny for unrelated reasons, but this should solve the problem 😉
Hi Folks
I've been refactoring scater to use the new SingleCellExperiment class from Bioconductor and have encountered a peculiar, intermittent error that seems to be coming from destiny (version 2.5.6; current devel on Bioconductor). I'm running this on R 3.4.1 on Mac OS X.
As I'm sure you know, in scater there is a
plotDiffusionMap
function that is a wrapper arounddestiny::DiffusionMap
. This has worked completely as expected until this week.Recently, I have been seeing this strange behaviour, where in a fresh R session, everything will work fine (e.g. scater tests all pass), but for subsequent calls to plotDiffusionMap in the same session there will be an error that looks like:
I don't really understand what's happening here. If you have any ideas then please let me know. I'm very happy to help troubleshoot and get both destiny and scater working nicely together ahead of the upcoming release.
Full error messages, session info and output below.
Best Davis