SCP icon indicating copy to clipboard operation
SCP copied to clipboard

Error installing and compiling

Open TheBorgy opened this issue 1 year ago • 1 comments

Hi,

Thank you for creating this very promising resource! I would love to be able to use and test the package. I keep running into the error below when I install SCP per the documentation instructions using:

if (!require("devtools", quietly = TRUE)) { install.packages("devtools") } devtools::install_github("zhanghao-njmu/SCP")

I tried installing scmap using bioconductor but the error persisted. Any idea or recommendation that might be causing this?

ERROR: dependency ‘scmap’ is not available for package ‘SCP’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/SCP’ Warning messages: 1: In i.p(...) : installation of package ‘scmap’ had non-zero exit status 2: In i.p(...) : installation of package ‘/var/folders/y5/6jm834dx4l1ddxtcsnjyrf2r0000gp/T//Rtmp72LD66/filee033c8d1512/SCP_0.2.0.tar.gz’ had non-zero exit status

TheBorgy avatar Oct 21 '22 18:10 TheBorgy

scmap is a Bioconductor package. You can try to install it manually from Bioconductor:

options(repos = BiocManager::repositories())
BiocManager::install("scmap")

Or install from GitHub:

install.packages("devtools")
devtools::install_github("hemberg-lab/scmap")

zhanghao-njmu avatar Oct 22 '22 12:10 zhanghao-njmu