Entering edit mode
I'm trying to install EBImage package from Bioconductor but...
## I'm having one problem... and received this error code
installing *source* package ‘EBImage’ ...
** using staged installation
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘EBImage’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/EBImage’
The downloaded source packages are in
‘/private/var/folders/rd/n0jsjlrn7lx_1kvd5t_tpffh0000gn/T/RtmpHWIYla/downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘EBImage’ had non-zero exit status
This post suggest you may need to install xcode https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa
I installed Xcode and the new error message is:
I don't know what I need to do to solve this problem
Bioconductor does not support the Apple M1 (a.k.a. arm64) architecture in native mode yet. Some information on this similar post: problems about installation of package ‘Rhtslib’, ‘Rsamtools’ ,‘GenomicAlignments’ , ‘ShortRead’ on macOS Big Sur using R 4.1.0 This is also indicated on the release announcement https://bioconductor.org/news/bioc_3_15_release/ .
You could try saying yes to install from source but no guarantees
You didn't answer "yes" to the "Do you want to attempt to install..." -- instead, the response given is "library(EBImage)" -- please look closely and try again.