egkopf / alineR

alineR as developed by Greg Kondrak, Sean Downey and Guowei Sun. Copyrighted 2015.
2 stars 1 forks source link

Unable to get aline() working "cannot open file './data/aline_mapset_workingcopy.csv': No such file or directory" #15

Open thedivtagguy opened 1 day ago

thedivtagguy commented 1 day ago

Hi! Thank you for this library, I was hoping there would be an R port of it.

I've tried installing the package as described in the README. However, If I try running the aline(), this happens:

> aline('Verelan', 'Virilon')
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file './data/aline_mapset_workingcopy.csv': No such file or directory

Here's my system information:

R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Pop!_OS 22.04 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

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

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

other attached packages:
[1] alineR_2.0

loaded via a namespace (and not attached):
 [1] desc_1.4.3        R6_2.5.1          remotes_2.4.2.1   ps_1.7.5          cli_3.6.3         processx_3.8.3   
 [7] callr_3.7.3       grid_4.3.1        textshaping_0.3.7 systemfonts_1.0.5 compiler_4.3.1    rstudioapi_0.15.0
[13] tools_4.3.1       pkgbuild_1.4.3    ragg_1.2.7        curl_5.2.3       

Could you help me resolve this?

thedivtagguy commented 1 day ago

I noticed that the files are there in the data repo on GitHub, perhaps this is a packaging issue?

egkopf commented 1 day ago

Hi Aman, You're right, this is a packaging issue. I'll resolve this as soon as possible.