HelenaLC / CATALYST

Cytometry dATa anALYsis Tools
66 stars 30 forks source link

densvis, scuttle, scatter cannot be installed #370

Closed Jeffchingg closed 9 months ago

Jeffchingg commented 9 months ago

Hi,

I am new to R. During the installing Catalyst, there are error message as below. Can you let me know what I should do? I am using Mac Ventura 13.2.

Thanks a lot.

Jeff

devtools::install_github("HelenaLC/CATALYST") Downloading GitHub repo HelenaLC/CATALYST@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: scuttle (1.9.4 -> 1.10.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 2 densvis (NA -> 1.10.3) [CRAN] scuttle (1.9.4 -> 1.10.3) [CRAN] scater (NA -> 1.28.0) [CRAN] Installing 3 packages: densvis, scuttle, scater

There is a binary version available but the source version is later: binary source needs_compilation scuttle 1.9.4 1.10.3 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) y Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘densvis’ Do you want to attempt to install these from sources? (Yes/no/cancel) y installing the source packages ‘densvis’, ‘scuttle’, ‘scater’

trying URL 'https://bioconductor.org/packages/3.17/bioc/src/contrib/densvis_1.10.3.tar.gz' Content type 'application/x-gzip' length 1731202 bytes (1.7 MB)

downloaded 1.7 MB

trying URL 'https://bioconductor.org/packages/3.17/bioc/src/contrib/scuttle_1.10.3.tar.gz' Content type 'application/x-gzip' length 1029617 bytes (1005 KB)

downloaded 1005 KB

trying URL 'https://bioconductor.org/packages/3.17/bioc/src/contrib/scater_1.28.0.tar.gz' Content type 'application/x-gzip' length 4089325 bytes (3.9 MB)

downloaded 3.9 MB

The downloaded source packages are in ‘/private/var/folders/4g/k4jqbl916jv_ml53s141yfswjy8k6x/T/RtmpJcSr5K/downloaded_packages’ ── R CMD build ────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/4g/k4jqbl916jv_ml53s141yfswjy8k6x/T/RtmpJcSr5K/remotes1983621b7165/HelenaLC-CATALYST-f3e294e/DESCRIPTION’ ... ─ preparing ‘CATALYST’: ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘CATALYST_1.24.0.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'

ERROR: dependency ‘scater’ is not available for package ‘CATALYST’

SamGG commented 9 months ago

Hi, I am not a Mac user, but a Windows user. Whatever I install, I never update while installing. Either I install a package, either I update installed packages. So, you should try without updating, ie option 3: None. Best.

markrobinsonuzh commented 9 months ago

Maybe a couple other things to say:

Jeffchingg commented 9 months ago

Thanks Mark and Sam for the comments. The problem to answer "no" for those questions will cause the installation exit automatically. Eventually I solved the problem. I used Homedrew to install gcc which made this compilation issue. Everything is working now