wejlab / animalcules

R shiny app for interactive microbiome analysis
https://wejlab.github.io/animalcules-docs/
Other
51 stars 16 forks source link

lazy-load database ... PathoStat.rdb is corrupt #50

Closed ReneKat closed 1 year ago

ReneKat commented 1 year ago

Hello animalcules developers, I'm excited to try out your tool but am having issues installing. I'm on a Mac OSX following installation instructions here.

Here's the exact error I'm receiving:

Error in FUN(X[[i]], ...) : lazy-load database '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/PathoStat/R/PathoStat.rdb' is corrupt

I've deleted that file and had it recreated with no avail.

Thanks for your help! Rene

jasonzhao0307 commented 1 year ago

did you encounter this error during installation or after run run_animalcules() ?

ReneKat commented 1 year ago

Hi @jasonzhao0307 and thanks for the quick response. I receive the error when I go to load the animalcules library: library(animalcules)

I have attached the Console here. Please let me know if you need more information.

animalcules_error.txt

EDITED: I have switched over to a Linux Ubuntu 20.04 server that I am tunneled into using ssh -L 8080:localhost:8080 computer@000:00:00:000 I have built the docker from scratch

git clone https://github.com/compbiomed/animalcules
cd animalcules
docker build --tag bucbm/animalcules:latest .

and am trying to launch the shiny app using docker run -d -p 8080:8080 -e PASSWORD=animalcules bucbm/animalcules:latest and various variations of 8787:8080 , 8080:localhost:8080, 8787:8787, 8787:8787 84c4a7b516fdec0c75974591713da310b7ada171437e731ee50661038af2ac07 8787:8080 3e51d061868a771d2e1bda49f88c33c9cef71e4e9e5d2ab7ca0bc5c506e9f886

I found this info online. I realize this is a separate question from the one I asked.

Thanks for any guidance, Rene

jasonzhao0307 commented 1 year ago

Hey Rene,

I feel this is not a animalcules issue, cuz PathoStat.rdb is not required in animalcules, which makes wonder if you have tried to install PathoStat before? Later you might have deleted it and R is complaining about it. Try reinstall R?