griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
209 stars 62 forks source link

Error : object ‘rbind.gtable’ is not exported by 'namespace:gridExtra' #324

Closed rtpandey closed 6 years ago

rtpandey commented 6 years ago

Although this has been closed, I am getting the same error when installing from Bioconductor. I tried changing the gridExtra version to 2.2, didnt work. This is the error when I install GenVisR from Github.

R version 3.3.3 (2017-03-06) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7600)

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

loaded via a namespace (and not attached): [1] httr_1.3.1 R6_2.2.2 BiocInstaller_1.24.0 tools_3.3.3
[5] withr_2.1.1 curl_3.1 memoise_1.1.0 knitr_1.20
[9] git2r_0.21.0 digest_0.6.14 devtools_1.13.5
After providing all the packages it complained about, I get this error, again. Error : object ‘rbind.gtable’ is not exported by 'namespace:gridExtra' Error: package or namespace load failed for ‘GenVisR’

zlskidmore commented 6 years ago

Hi @rtpandey, the issue is that bioconductor versions are tied to R versions, I see you are on R 3.3.3 however the current bioconductor and subsequently genvisr are tied to R 3.4.3. So you are not installing the latest version of genvisr from bioconductor but rather an early version that now has a compatability issue with gridExtra. The solutions available are to either upgrade R or to downgrade gridExtra. I am almost certain that gridExtra version 2.0.0 or earlier would work for you but i'll leave this issue open in case there are issues.

rtpandey commented 6 years ago

Hello Zach @zlskidmore Thank you for your prompt reply. I updated everything, R to 3.4.3, RStudio to 1.1.423, and downloaded GenVisR from Bioconductor, using Bioconductor version 3.6. The library loaded, no complaints. Thanks again.