qiime2r installation in R

Hello,

I am trying to install the qiime2r package in the rstudio from: GitHub - jbisanz/qiime2R: Import qiime2 artifacts to R, it was working and I ran into the error here:

ERROR: dependency ‘ape’ is not available for package ‘qiime2R’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/qiime2R’
    Warning messages:
    1: In i.p(...) : installation of package ‘ape’ had non-zero exit status
    2: In i.p(...) :
    installation of package ‘/var/folders/tp/grl_74w528x5n5tbfy43200w0000gn/T//Rtmp8yhaZq/file117c28162c01/qiime2R_0.99.6.tar.gz’ had non-zero exit status

Do you have any idea why this happened and how to get it fixed?

Thank you

Based on the error it looks like you need to install the dependency 'ape'. If something like this happens I normally just try install.packages("<packagename>") so in this case install.packages("ape").

If that doesn't work I google it, sometimes it'll be an OS package that needs to be installed, or the R package isn't available in the standard repository.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.