Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scissor installation error #54

Open
bioinflix opened this issue Jun 13, 2023 · 1 comment
Open

Scissor installation error #54

bioinflix opened this issue Jun 13, 2023 · 1 comment

Comments

@bioinflix
Copy link

Hi, I tried to install Scissor on windows and linux R platforms, but ran into the following installation problems:

#Linux

install.packages("sunduanchen-Scissor-311560a.tar.gz",repos=NULL,type="source",dependencies=T)
Installing package into '/root/R/x86_64-pc-linux-gnu-library/4.1'
(as 'lib' is unspecified)
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers

  • installing source package 'Scissor' ...
    ** using staged installation
    ** libs
    make: Nothing to be done for 'all'.
    installing to /root/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-sunduanchen-Scissor-311560a/00new/Scissor/libs
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    Error: package or namespace load failed for 'Scissor' in dyn.load(file, DLLpath = DLLpath, ...):
    unable to load shared object '/root/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-sunduanchen-Scissor-311560a/00new/Scissor/libs/Scissor.so':
    /root/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-sunduanchen-Scissor-311560a/00new/Scissor/libs/Scissor.so: invalid ELF header
    Error: loading failed
    Execution halted
    ERROR: loading failed
  • removing '/root/R/x86_64-pc-linux-gnu-library/4.1/Scissor'
    Warning message:
    In install.packages("sunduanchen-Scissor-311560a.tar.gz", repos = NULL, :
    installation of package 'sunduanchen-Scissor-311560a.tar.gz' had non-zero exit status

#Windows

devtools::install_github('sunduanchen/Scissor')
Downloading GitHub repo sunduanchen/Scissor@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/sunduanchen/Scissor/tarball/HEAD' failed
install.packages("sunduanchen-Scissor-311560a.tar.gz",repos=NULL,type="source",dependencies=T)
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers

  • installing source package 'Scissor' ...
    ** using staged installation
    ** libs

*** arch - i386
C:\rtools40\mingw32\bin\nm.exe: RcppExports.o: file format not recognized
C:\rtools40\mingw32\bin\nm.exe: Scissor.o: file format not recognized
C:/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o Scissor.dll tmp.def RcppExports.o Scissor.o -LC:/PROGRA1/R/R-411.3/bin/i386 -lR
RcppExports.o: file not recognized: file format not recognized
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'Scissor'

  • removing 'C:/Program Files/R/R-4.1.3/library/Scissor'
    [0x7FFD9E9BE824] ANOMALY: use of REX.w is meaningless (default operand size is 64)
    [0x7FFD9E9BE824] ANOMALY: use of REX.w is meaningless (default operand size is 64)
    [0x7FFD9E9BE824] ANOMALY: use of REX.w is meaningless (default operand size is 64)
    Warning message:
    In install.packages("sunduanchen-Scissor-311560a.tar.gz", repos = NULL, :
    installation of package ‘sunduanchen-Scissor-311560a.tar.gz’ had non-zero exit status

Can you help solve this problem? Thanks!

@adrienneparsons
Copy link

I'm having a similar problem on my Mac. I get the following error trying to use devtools:

devtools::install_github("sunduanchen/Scissor")

Using github PAT from envvar GITHUB_PAT
Error: Failed to install 'unknown package' from GitHub:
HTTP error 401.
Bad credentials

Rate limit remaining: 51/60
Rate limit reset at: 2023-08-23 19:13:59 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants