scottzijiezhang / RADAR

The project for analyzing differential methylation of MeRIP-seq data
GNU General Public License v3.0
19 stars 8 forks source link

Installation/C++11 compilation error #13

Open jarditi0011 opened 3 years ago

jarditi0011 commented 3 years ago

Has anyone every had an error like this before? How did you resolve it?

Seems like g++ can't read C++11. I'm on MacOS Catalina 10.15.5. This worked fine on my Windows 10 laptop, both machines are running R 4.0.3

===================================================================

install_github("scottzijiezhang/RADAR") Downloading GitHub repo scottzijiezhang/RADAR@HEAD Skipping 4 packages not available: DESeq2, qvalue, Rsamtools, GenomicFeatures ✓ checking for file ‘/private/var/folders/kw/6r9cly7j21x9txvc0f2fc75r0000gn/T/RtmpMMDENn/remotes163e0114ce4b4/scottzijiezhang-RADAR-93efbeb/DESCRIPTION’ ... ─ preparing ‘RADAR’: ✓ 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 ‘RADAR_0.2.3.tar.gz’

jgarces02 commented 3 years ago

Hi. I had a similar problem with another R package (DESeq2). Try to install the devel version of RcppArmadillo:

install.packages("https://cran.r-project.org/src/contrib/Archive/RcppArmadillo/RcppArmadillo_0.9.900.3.0.tar.gz", repos=NULL, type="source")
abearab commented 1 year ago

If you are using conda, you may use this script to install RADAR in a separate environment. https://github.com/abearab/imRIP/blob/main/radar_install.sh