xia-lab / MetaboAnalystR

R package for MetaboAnalyst
Other
313 stars 155 forks source link

SSPA package no longer available in BioConductor #309

Open shiqing03 opened 3 months ago

shiqing03 commented 3 months ago

Hi there,

I'm trying to install dependencies and found SSPA is no longer hosted on BioConductor. Could you direct me to where I can download the package? Thank you very much!

Best, Shiqing

candidosobrinhosa commented 3 months ago

Have you considered downloading the source code and compiling?

You may download the source on bioconductor repository (The .tar.gz file at https://www.bioconductor.org/packages//2.11/bioc/html/SSPA.html) then run a command on R terminal:

$ install.packages(“/home/user/downloads/source.tar.gz”, type=“source”)

Ivy-ops commented 1 month ago

Hi @candidosobrinhosa , I have below error in using the code you provided. May I have some advice? Thanks.

install.packages('SSPA_1.14.2.tar.gz', type="source", repos = NULL)

  • installing source package ‘SSPA’ ... using staged installation libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.3.9.4)’ using SDK: ‘’ clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c massdist.c -o massdist.o clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o SSPA.so massdist.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/00LOCK-SSPA/00new/SSPA/libs R inst ** byte-compile and prepare package for lazy loading Error: object ‘@<-’ is not exported by 'namespace:methods' Execution halted ERROR: lazy loading failed for package ‘SSPA’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/SSPA’ Warning in install.packages : installation of package ‘/Users//Documents/software/SSPA_1.14.2.tar.gz’ had non-zero exit status