Installing ensembldb package in R in mac OS with M1 chip

I have been trying to install ensembldb package in R in my mac Os with M1 chip. I just keep on getting the error message saying installation of package ‘ensembldb’ had non-zero exit status.I would greatly appreciate it if someone could help me solve this issue.

install.packages("ensembldb")
also installing the dependencies ‘GenomicAlignments’, ‘Rhtslib’, ‘GenomicFeatures’, ‘rtracklayer’, ‘Rsamtools’

Warning in install.packages :
unable to access index for repository https://bioconductor.org/packages/3.13/bioc/bin/macosx/big-sur-arm64/contrib/4.1:
Warning in install.packages :
unable to access index for repository
.........
Packages which are only available in source form, and may need
compilation of C/C++/Fortran: ‘GenomicAlignments’ ‘Rhtslib’
‘rtracklayer’ ‘Rsamtools
Do you want to attempt to install these from sources? (Yes/no/cancel) Yes
..................
Warning in install.packages :
installation of package ‘ensembldb’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/53/7r206fhx54d7_2yxwr5zr_cm0000gn/T/RtmpkdvcAk/downloaded_packages’

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.