Unable to Install qiime2R
sleverhart opened this issue · 3 comments
Hello - I'm trying to install qiime2R in RStudio (v2023.09.0+463) using the code provided:
If (!requireNamespace("devtools", quietly = TRUE)){install.packages("devtools")}
devtools::install_github("jbisanz/qiime2R")
This command gave the following output at the end:
ERROR: dependency ‘Hmisc’ is not available for package ‘qiime2R’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/qiime2R’
Warning messages:
1: In i.p(...) :
installation of package ‘stringi’ had non-zero exit status
2: In i.p(...) :
installation of package ‘RcppArmadillo’ had non-zero exit status
3: In i.p(...) : installation of package ‘vegan’ had non-zero exit status
4: In i.p(...) : installation of package ‘igraph’ had non-zero exit status
5: In i.p(...) : installation of package ‘ape’ had non-zero exit status
6: In i.p(...) : installation of package ‘Hmisc’ had non-zero exit status
7: In i.p(...) : installation of package ‘ade4’ had non-zero exit status
8: In i.p(...) :
installation of package ‘/var/folders/pg/08g3vsq5451gz2slxjl12gh40000gn/T//RtmpQoAkkX/fileb6aa4c62c755/qiime2R_0.99.6.tar.gz’ had non-zero exit status
So, when I try to add qiime2R into my library, I get the following error.
> library(qiime2R)
Error in library(qiime2R) : there is no package called ‘qiime2R’
It sounds like the problem is in the installation of all the dependencies. Can you send your sessionInfo()
?
It sounds like the problem is in the installation of all the dependencies. Can you send your
sessionInfo()
?
R version 4.0.4 (2021-02-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 13.4
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.11 urlchecker_1.0.1 compiler_4.0.4 later_1.3.1 remotes_2.4.2.1
[6] prettyunits_1.1.1 profvis_0.3.8 tools_4.0.4 digest_0.6.33 pkgbuild_1.4.2
[11] pkgload_1.3.2.1 evaluate_0.21 memoise_2.0.1 lifecycle_1.0.3 rlang_1.1.1
[16] shiny_1.7.4.1 cli_3.6.1 rstudioapi_0.15.0 curl_5.0.2 yaml_2.3.7
[21] xfun_0.40 fastmap_1.1.1 stringr_1.5.0 knitr_1.44 desc_1.4.2
[26] fs_1.6.3 htmlwidgets_1.6.2 vctrs_0.6.3 devtools_2.4.5 rprojroot_2.0.3
[31] glue_1.6.2 R6_2.5.1 processx_3.8.2 rmarkdown_2.25 sessioninfo_1.2.2
[36] callr_3.7.3 purrr_1.0.2 magrittr_2.0.3 usethis_2.2.2 promises_1.2.1
[41] ps_1.7.5 ellipsis_0.3.2 htmltools_0.5.6 mime_0.12 xtable_1.8-4
[46] httpuv_1.6.11 stringi_1.7.5 miniUI_0.1.1.1 cachem_1.0.8 crayon_1.5.2
Was able to circle back to this and figured it out. I can't remember which dependency was giving me issues within the qiime2R install this time (it may have been the same one listed above), but I just individually installed the one package that was giving me the problem. You'd actually recommended this to someone else who was having a similar issue in a QIIME forum - thank you!