jackbibby1/SCPA

Error in utils::download SCPA

Closed this issue · 5 comments

I'm trying to download SCPA as directed in the tutorial, but I keep getting errors. It looks like I'm unable to install crossmatch or multicross and then I encounter this:
Screenshot 2023-04-14 at 8 38 20 AM

Hi,

What output do you get when you run:

devtools::install_version("crossmatch", version = "1.3.1", repos = "http://cran.us.r-project.org")
devtools::install_version("multicross", version = "2.1.0", repos = "http://cran.us.r-project.org")

Jack

Screenshot 2023-04-14 at 8 45 58 AM

Screenshot 2023-04-14 at 8 46 14 AM

I'm running R version 4.1.2

It looks like you need to install the other packages you're getting an error for. Can you try:

install.packages(c("Hmisc", "checkmate", "htmlTable", "nbpMatching"))

And then run

# install.packages("devtools")
devtools::install_version("crossmatch", version = "1.3.1", repos = "http://cran.us.r-project.org")
devtools::install_version("multicross", version = "2.1.0", repos = "http://cran.us.r-project.org")
devtools::install_github("jackbibby1/SCPA")

Ah, actually -- it also looks like you don't have the Xcode command line tools. You'll need these installed before you try to install the other packages. If you open Terminal and run:

xcode-select --install

Then this should install them

Thank you for your help, I needed to install xcode, the packages listed above and also complexheatmap, but I finally got there!