MaayanLab / enrichr_issues

5 stars 3 forks source link

Broken R Code #63

Closed NTherrien93 closed 1 year ago

NTherrien93 commented 1 year ago

Describe the bug When connecting to the database using listEnrichrDbs() command, i receive the following error Error in (function (..., deparse.level = 1, make.row.names = TRUE, stringsAsFactors = FALSE, : numbers of columns of arguments do not match

To Reproduce Steps to reproduce the behavior: Open R and input the following code

library(enrichR) websiteLive <- getOption("enrichR.live") if (websiteLive) { + listEnrichrSites() + setEnrichrSite("Enrichr") + } Enrichr ... Connection is Live! FlyEnrichr ... Connection is Live! WormEnrichr ... Connection is Live! YeastEnrichr ... Connection is Live! FishEnrichr ... Connection is Live! OxEnrichr ... Connection is Live! Connection changed to https://maayanlab.cloud/Enrichr/ Connection is Live! if (websiteLive) dbs <- listEnrichrDbs()

Error in (function (..., deparse.level = 1, make.row.names = TRUE, stringsAsFactors = FALSE, : numbers of columns of arguments do not match

Expected behavior A list of different databases should appear

Additional context I used this code yesterday (June 6th) for a different pathway analysis and it worked fine, today (June 7th) there is an error with the listEnrichrDbs() command

sessionInfo() R version 4.2.2 (2022-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 22.04.2 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages: [1] enrichR_3.2 ggrepel_0.9.3 ggplot2_3.4.2

loaded via a namespace (and not attached): [1] Rcpp_1.0.10 pillar_1.9.0 compiler_4.2.2 WriteXLS_6.4.0 tools_4.2.2 digest_0.6.31 evaluate_0.21 lifecycle_1.0.3 [9] tibble_3.2.1 gtable_0.3.3 pkgconfig_2.0.3 rlang_1.1.1 cli_3.6.1 rstudioapi_0.14 curl_5.0.0 yaml_2.3.7
[17] xfun_0.39 fastmap_1.1.1 withr_2.5.0 dplyr_1.1.2 httr_1.4.6 knitr_1.43 generics_0.1.3 vctrs_0.6.2
[25] grid_4.2.2 tidyselect_1.2.0 glue_1.6.2 R6_2.5.1 fansi_1.0.4 rmarkdown_2.22 magrittr_2.0.3 scales_1.2.1
[33] htmltools_0.5.5 colorspace_2.1-0 utf8_1.2.3 munsell_0.5.0 rjson_0.2.21

jeevangelista commented 1 year ago

Hi @NTherrien93, this should be fixed. Let me know if you encounter any issues