I encountered an error while installing the dependencies for SpatialCellChat. Specifically, the installation of the MERINGUE package failed on my macOS Apple Silicon environment.
remotes::install_local("~/Downloads/MERINGUE-master.zip")
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: rlang (1.1.7 -> 1.2.0 ) [CRAN]
5: lifecycle (1.0.4 -> 1.0.5 ) [CRAN]
6: glue (1.8.0 -> 1.8.1 ) [CRAN]
7: cli (3.6.5 -> 3.6.6 ) [CRAN]
8: Rcpp (1.1.0 -> 1.1.1-1.1) [CRAN]
9: magrittr (2.0.3 -> 2.0.5 ) [CRAN]
10: later (1.4.4 -> 1.4.8 ) [CRAN]
11: digest (0.6.37 -> 0.6.39 ) [CRAN]
12: base64enc (0.1-3 -> 0.1-6 ) [CRAN]
13: htmltools (0.5.8.1 -> 0.5.9 ) [CRAN]
14: rappdirs (0.3.3 -> 0.3.4 ) [CRAN]
15: fs (1.6.6 -> 2.1.0 ) [CRAN]
16: tinytex (0.57 -> 0.60 ) [CRAN]
17: bslib (0.9.0 -> 0.11.0 ) [CRAN]
18: xfun (0.53 -> 0.59 ) [CRAN]
19: highr (0.11 -> 0.12 ) [CRAN]
20: yaml (2.3.10 -> 2.3.12 ) [CRAN]
21: rmarkdown (2.29 -> 2.31 ) [CRAN]
22: knitr (1.50 -> 1.51 ) [CRAN]
23: lazyeval (0.2.2 -> 0.2.3 ) [CRAN]
24: cpp11 (0.5.2 -> 0.5.5 ) [CRAN]
25: vctrs (0.6.5 -> 0.7.3 ) [CRAN]
26: promises (1.3.3 -> 1.5.0 ) [CRAN]
27: sp (2.2-0 -> 2.2-1 ) [CRAN]
28: RcppArmad... (15.0.2-2 -> 15.4.0-1 ) [CRAN]
29: clue (0.3-66 -> 0.3-68 ) [CRAN]
30: igraph (2.0.3 -> 2.3.3 ) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 3
- installing source package ‘MERINGUE’ ...
** this is package ‘MERINGUE’ version ‘1.0’
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’
using SDK: ‘’
make: Nothing to be done for `all'.
installing to /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** 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
Error: package or namespace load failed for ‘MERINGUE’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so, 0x0006): tried: '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (no such file), '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/Library/Frameworks/R.
Error: loading failed
Execution halted
ERROR: loading failed
- removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/MERINGUE’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/0l/0gkqppm56wggw9_tflm7qwf80000gn/T//RtmpI0eMRA/remotes12ee47da43df4/MERINGUE-master’ had non-zero exit status
I encountered an error while installing the dependencies for SpatialCellChat. Specifically, the installation of the MERINGUE package failed on my macOS Apple Silicon environment.
1: All
2: CRAN packages only
3: None
4: rlang (1.1.7 -> 1.2.0 ) [CRAN]
5: lifecycle (1.0.4 -> 1.0.5 ) [CRAN]
6: glue (1.8.0 -> 1.8.1 ) [CRAN]
7: cli (3.6.5 -> 3.6.6 ) [CRAN]
8: Rcpp (1.1.0 -> 1.1.1-1.1) [CRAN]
9: magrittr (2.0.3 -> 2.0.5 ) [CRAN]
10: later (1.4.4 -> 1.4.8 ) [CRAN]
11: digest (0.6.37 -> 0.6.39 ) [CRAN]
12: base64enc (0.1-3 -> 0.1-6 ) [CRAN]
13: htmltools (0.5.8.1 -> 0.5.9 ) [CRAN]
14: rappdirs (0.3.3 -> 0.3.4 ) [CRAN]
15: fs (1.6.6 -> 2.1.0 ) [CRAN]
16: tinytex (0.57 -> 0.60 ) [CRAN]
17: bslib (0.9.0 -> 0.11.0 ) [CRAN]
18: xfun (0.53 -> 0.59 ) [CRAN]
19: highr (0.11 -> 0.12 ) [CRAN]
20: yaml (2.3.10 -> 2.3.12 ) [CRAN]
21: rmarkdown (2.29 -> 2.31 ) [CRAN]
22: knitr (1.50 -> 1.51 ) [CRAN]
23: lazyeval (0.2.2 -> 0.2.3 ) [CRAN]
24: cpp11 (0.5.2 -> 0.5.5 ) [CRAN]
25: vctrs (0.6.5 -> 0.7.3 ) [CRAN]
26: promises (1.3.3 -> 1.5.0 ) [CRAN]
27: sp (2.2-0 -> 2.2-1 ) [CRAN]
28: RcppArmad... (15.0.2-2 -> 15.4.0-1 ) [CRAN]
29: clue (0.3-66 -> 0.3-68 ) [CRAN]
30: igraph (2.0.3 -> 2.3.3 ) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 3
** this is package ‘MERINGUE’ version ‘1.0’
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’
using SDK: ‘’
make: Nothing to be done for `all'.
installing to /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** 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
Error: package or namespace load failed for ‘MERINGUE’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so, 0x0006): tried: '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (no such file), '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-MERINGUE-master/00new/MERINGUE/libs/MERINGUE.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/Library/Frameworks/R.
Error: loading failed
Execution halted
ERROR: loading failed
Warning message:
In i.p(...) :
installation of package ‘/var/folders/0l/0gkqppm56wggw9_tflm7qwf80000gn/T//RtmpI0eMRA/remotes12ee47da43df4/MERINGUE-master’ had non-zero exit status