wikipathways / rWikiPathways

R package for WikiPathways API
https://r.wikipathways.org/
MIT License
15 stars 6 forks source link

downloadPathwayArchive not working #37

Closed Jorges1000 closed 3 months ago

Jorges1000 commented 3 months ago

Hi, I get this error:

rWikiPathways::downloadPathwayArchive(organism="Homo sapiens")
Error in rWikiPathways::downloadPathwayArchive(organism = "Homo sapiens") : 
  Could not find a file matching your specifications. Try browsing https://data.wikipathways.org.

sessionInfo

R version 4.4.1 (2024-06-14)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS:   /shared/apps/R/4.4.1/lib/R/lib/libRblas.so 
LAPACK: /shared/apps/R/4.4.1/lib/R/lib/libRlapack.so;  LAPACK version 3.12.0

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

time zone: Etc/UTC
tzcode source: system (glibc)

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

other attached packages:
[1] workflowr_1.7.1

Thanks!

AlexanderPico commented 3 months ago

Fixed in development branch. You can install it like so...

install.packages("devtools")
library(devtools)
install_github('wikipathways/rWikiPathways', build_vignettes=TRUE)
library(rWikiPathways)

The fix will be included in the upcoming Bioconductor release in October.

Thanks for reporting!