Acribbs / tRNAnalysis

tRNA analysis workflow
MIT License
3 stars 1 forks source link

Library not loaded: @rpath/libgfortran.3.dylib #33

Closed Acribbs closed 4 years ago

Acribbs commented 4 years ago

This issue only seems to be affecting OSX when building the report.

Error: package or namespace load failed for 'plotly' in dyn.load(file, DLLpath = DLLpath, ...):
     unable to load shared object '/Users/adamcribbs/miniconda3/envs/trnanalysis-test/lib/R/library/data.table/libs/datatable.so':
      dlopen(/Users/adamcribbs/miniconda3/envs/trnanalysis-test/lib/R/library/data.table/libs/datatable.so, 6): Library not loaded: @rpath/libgfortran.3.dylib
      Referenced from: /Users/adamcribbs/miniconda3/envs/trnanalysis-test/lib/R/library/data.table/libs/datatable.so
      Reason: image not found
    Execution halted

To fix:

conda install libgfortran=3

However, then for some reason that I couldn't work out, even though bioconductor-org.HS.eg.db was installed it wasn't picked up by R.

I opened up R in the terminal and installed by :

BiocManager::install("org.Hs.eg.db")

Then restarted build_report