Closed alikhuseynov closed 2 years ago
I had a similar issue trying to install Harmony under r 4.2.1. Output script:
Downloading GitHub repo immunogenomics/harmony@HEAD ✔ checking for file ‘/private/var/folders/dw/xkmd_52514nb_btchbc91g9jqlp_jn/T/RtmpFvhBlI/remotes16c563e5552d8/immunogenomics-harmony-6866e01/DESCRIPTION’ ... ─ preparing ‘harmony’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘harmony_0.1.0.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'
@swarrd in your case it's slightly different error. You might need to install rgdal
as well. The Abort trap: 6..
error is probably related to Xcode
version, not sure.
@swarrd and others users, I could install it under R 4.2.1 using r-harmony
from bioconda
. (Note I'm using conda
environment)
Dirty solution but it works and harmony
runs smoothly:
wget https://anaconda.org/bioconda/r-harmony/0.1/download/linux-64/r-harmony-0.1-r41h9f5acd7_3.tar.bz2
bunzip2 r-harmony-0.1-r41h9f5acd7_3.tar.bz2
tar -xvf r-harmony-0.1-r41h9f5acd7_3.tar
lib/
& info/
should appear, cd info/recipe/
nano meta.yaml
look for r-base
versions and change to 4.2.1
, same for nano conda_build_config.yaml
tar -czvf r-harmony-0.1-r41h9f5acd7_3.tar lib/ info/
and bzip2 r-harmony-0.1-r41h9f5acd7_3.tar
mamba install r-harmony-0.1-r41h9f5acd7_3.tar.bz2
or conda install r-harmony-0.1-r41h9f5acd7_3.tar.bz2
if no mamba
available. R -e 'library(harmony)'
hope this helps!
Hi there, thanks for developing this nice package. I'm trying to install it on conda env under R 4.2.1 (tried both via
devtools()
andinstall.packages()
) below is the error:However could install it under R 4.1.3 via
conda install -c bioconda r-harmony
this does not work forr-base=4.2.1
Any suggestions? Many Thanks