xuranw / MuSiC

Multi-subject Single Cell Deconvolution
https://github.com/xuranw/MuSiC
GNU General Public License v3.0
224 stars 89 forks source link

package ‘MuSiC’ is not available (for R version 4.0.0) #76

Closed complexgenome closed 3 years ago

complexgenome commented 3 years ago

Hi there,

What version is MuSiC compatible with?

xuranw commented 3 years ago

I have just updated MuSiC. Could you please try again?

complexgenome commented 3 years ago

Hi @xuranw,

Thank you for looking into it. It failed . Please see below messages.

 devtools::install_github('xuranw/MuSiC')
Downloading GitHub repo xuranw/MuSiC@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: RcppArmad... (0.10.1.2.2 -> 0.10.5.0.0) [CRAN]
 5: matrixStats  (0.57.0     -> 0.59.0    ) [CRAN]
 6: utf8         (1.1.4      -> 1.2.1     ) [CRAN]
 7: crayon       (1.3.4      -> 1.4.1     ) [CRAN]
 8: cli          (2.2.0      -> 2.5.0     ) [CRAN]
 9: vctrs        (0.3.6      -> 0.3.8     ) [CRAN]
10: rlang        (0.4.10     -> 0.4.11    ) [CRAN]
11: pillar       (1.4.7      -> 1.6.1     ) [CRAN]
12: lifecycle    (0.2.0      -> 1.0.0     ) [CRAN]
13: fansi        (0.4.2      -> 0.5.0     ) [CRAN]
14: ellipsis     (0.3.1      -> 0.3.2     ) [CRAN]
15: colorspace   (2.0-0      -> 2.0-2     ) [CRAN]
16: viridisLite  (0.3.0      -> 0.4.0     ) [CRAN]
17: farver       (2.0.3      -> 2.1.0     ) [CRAN]
18: withr        (2.4.1      -> 2.4.2     ) [CRAN]
19: tibble       (3.0.5      -> 3.1.2     ) [CRAN]
20: isoband      (0.2.3      -> 0.2.4     ) [CRAN]
21: ggplot2      (3.3.3      -> 3.3.5     ) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
✔  checking for file ‘/tmp/Rtmp6oEp2I/remotesf356abd8bbf/xuranw-MuSiC-7c58348/DESCRIPTION’ (2.4s)
─  preparing ‘MuSiC’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘MuSiC_0.2.0.tar.gz’

Installing package into ‘/mnt/mfs/hgrcgrid/homes/ss5505/libraries_R/CONDAR_inhouse4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘MuSiC’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package ‘ggplot2’ was built under R version 4.0.3
Execution halted
ERROR: lazy loading failed for package ‘MuSiC’
* removing ‘/mnt/mfs/hgrcgrid/homes/ss5505/libraries_R/CONDAR_inhouse4.0/MuSiC’
Error: Failed to install 'MuSiC' from GitHub:
  (converted from warning) installation of package ‘/tmp/Rtmp6oEp2I/filef3530ab4769/MuSiC_0.2.0.tar.gz’ had non-zero exit status

I didn't update any package.

SessionInfo is:

R version 4.0.0 (2020-04-24)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)

Thanks.

xuranw commented 3 years ago

Hi sariya,

This error comes from ggplot2. Could you please update your R to the latest version? 4.0.3 Hope this helps.

Best, Xuran

complexgenome commented 3 years ago

Thank you. I updated ggplot2 and it got installed.

21: ggplot2      (3.3.3      -> 3.3.5     ) [CRAN]
Enter one or more numbers, or an empty line to skip updates:21
ggplot2 (3.3.3 -> 3.3.5) [CRAN]

I am on conda R environment.

Installing package into ‘/mnt/mfs/hgrcgrid/homes/ss5505/libraries_R/CONDAR_inhouse4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘MuSiC’ ...
** using staged installation
** R
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (MuSiC)

thank you very much.