nicolewhite/RNeo4j

namespace collision, on "connection"? Found more than one class "connection" in cache; using the first, from namespace 'BiocGenerics

paul-shannon opened this issue · 0 comments

Hi Nicole,

I think I have encountered an obscure and easily solved non-fatal problem in RNeo4j. It has to do, I think, with namespaces in R packages. Here is the text of the warning, followed by the identical problem cropping up in RStudio, which they quickly fixed.

The warning (issued once for every message sent between R and Neo4J:

Found more than one class "connection" in cache; using the first, from namespace 'BiocGenerics'

And the very similar report from RStudio (you keep good company!):

https://groups.google.com/forum/#!topic/shinyapps-users/OUC0J6ahYAc

My time with the Bioconductor project probably biases me somewhat, but I think that Martin Morgan, Herve and Dan probably refined Biocgenerics so that it follows all the rules.

Here's my sessionInfo:

R version 3.2.3 (2015-12-10)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.2 (El Capitan)

locale:
[1] C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] edgeR_3.12.0 limma_3.26.7 RNeo4j_1.6.3 trena_1.0 RCyjs_1.3.5 graph_1.48.0
[7] BrowserViz_1.3.2 httpuv_1.3.3 jsonlite_0.9.19 BiocInstaller_1.20.1

loaded via a namespace (and not attached):
[1] Rcpp_0.12.3 mime_0.4 R6_2.1.2 stats4_3.2.3 magrittr_1.5 httr_1.1.0
[7] curl_0.9.5 RJSONIO_1.3-0 tools_3.2.3 igraph_1.0.1 compiler_3.2.3 parallel_3.2.3
[13] BiocGenerics_0.16.1