MuDataSeurat icon indicating copy to clipboard operation
MuDataSeurat copied to clipboard

[MuDataSeurat] Install error

Open jpark27 opened this issue 9 months ago • 1 comments

Dear MuDataSeurat team,

Hi, all! I am trying to install MuDataSeurat through remotes/devtools/local but all come across with following error. Can you help me out whether there's some issue on the package?

devtools::install_local("/project/simmons_hts/jpark/0_tools/MuDataSeurat") 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: jsonlite (1.8.9 -> 1.9.0 ) [CRAN] 5: tinytex (0.54 -> 0.56 ) [CRAN] 6: xfun (0.50 -> 0.51 ) [CRAN] 7: curl (6.2.0 -> 6.2.1 ) [CRAN] 8: data.table (1.16.4 -> 1.17.0) [CRAN] 9: zoo (1.8-12 -> 1.8-13) [CRAN] 10: spam (2.11-0 -> 2.11-1) [CRAN] 11: uwot (0.2.2 -> 0.2.3 ) [CRAN] 12: reticulate (1.40.0 -> 1.41.0) [CRAN] 13: hdf5r (1.3.11 -> 1.3.12) [CRAN]

Enter one or more numbers, or an empty line to skip updates: ── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/tmp/RtmpS48If7/file100063617daa2/MuDataSeurat/DESCRIPTION’ (352ms) ─ preparing ‘MuDataSeurat’: ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories Omitted ‘LazyData’ from DESCRIPTION ─ building ‘MuDataSeurat_0.0.0.9000.tar.gz’

Installing package into ‘/ceph/home/j/jpark/R/x86_64-pc-linux-gnu-library/4.4’ (as ‘lib’ is unspecified)

  • installing source package ‘MuDataSeurat’ ... ** using staged installation ** R ** byte-compile and prepare package for lazy loading Error in packageVersion(getPackageName()) : could not find function "packageVersion" Error: unable to load R code in package ‘MuDataSeurat’ Execution halted ERROR: lazy loading failed for package ‘MuDataSeurat’
  • removing ‘/ceph/home/j/jpark/R/x86_64-pc-linux-gnu-library/4.4/MuDataSeurat’ Warning message: In i.p(...) : installation of package ‘/tmp/RtmpS48If7/file1000632f58bfc1/MuDataSeurat_0.0.0.9000.tar.gz’ had non-zero exit status

jpark27 avatar Mar 03 '25 13:03 jpark27

Hey @jpark27,

It seems to complain about packageVersion() not being available. Does it happen in RStudio? Is this function available in vanilla R? I cannot reproduce this when using R CLI.

gtca avatar Mar 06 '25 00:03 gtca