andreasmock / MetaboDiff

29 stars 4 forks source link

ERROR when install the package MetaboDiff using install_github() #3

Open Dayueban opened 5 years ago

Dayueban commented 5 years ago

hello: there, i encounter the problem when i installing the package "MetaboDiff" using R function install_github(), hoping your instruction if available! the error messages i got was "Downloading GitHub repo andreasmock/MetaboDiff@master Error in utils::download.file(url, path, method = download_method(), quiet = quiet, : cannot open URL 'https://api.github.com/repos/andreasmock/MetaboDiff/tarball/master"

best regards

mariam-hakeemsanni commented 5 years ago

Hi there, I am also having similar issues on my end when trying to install the package I get the error message below. Error: (converted from warning) unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5: cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5/PACKAGES' In addition: Warning messages: 1: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers 2: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers

Were you able to fix yours?

Please advice

Cheers

andreasmock commented 5 years ago

Hello everyone, the package can be installed by

library("devtools") install_github("andreasmock/MetaboDiff")

I have recently updated the package, please let me know if your errors remain, Kind regards, Andreas

ariannacelis commented 3 years ago

Hi Andreas, I am also having trouble installing the package. I have installed WGCNA, devtools, as well as G0.db using

install.packages("WGCNA") install.packages("devtools") install.packages("G0.db")

Then loaded them using library() for each of them.

Then when I use install_github("andreasmock/MetaboDiff")

I get the a list of warnings that look something like this:

Warning in load(zfile, envir = tmp_env) : input string '3-carbamoyl-1-[(2R,3R,4S,5R)-3,4-dihydroxy-5-(hydroxymethyl)oxolan-2-yl]-1λ⁵-pyridin-1-ylium' cannot be translated to UTF-8, is it valid in 'CP1252'?

Followed by all of the below:

inst byte-compile and prepare package for lazy loading Error: package or namespace load failed for ‘ComplexHeatmap’: .onLoad failed in loadNamespace() for 'Cairo', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so, 6): Library not loaded: /opt/X11/lib/libXrender.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so Reason: image not found Error: package ‘ComplexHeatmap’ could not be loaded Execution halted ERROR: lazy loading failed for package ‘MetaboDiff’

Can I get your help on this?

Thank you, Arianna

RosaLuzia commented 3 years ago

I have the same problem like Ariannasacelis. Are you able to fix this? Kind regards Rosa

raphDL commented 3 years ago

Installing XQuartz fixed the issue for me.

auroraab commented 3 years ago

Thanks @raphDL! I am getting the exact same issue as Arianna, running R 4.0.3 on Mac OS, I tried installing and updating XQuartz and still getting the same issue. Did you do anything else to get it to work?

sunsvet commented 1 year ago

I was geeting the same error as Ariannasacelis. I had to update my purrr and dplyr packages and it worked.