Hi. I am trying to install Qiime2R and have also read a discussions about this. However, I am still having some problems and would appreciate any help.
I have installed tidyverse and tried the same for devtools by running the lines below:
Can you please share more details about the error message. I think you need to first install the package devtools successfully and then you can use install Qiime2R.
@Lei is correct, the issue is with installing devtools, but to spot the issue we would need to know the exact error messages that preceeed the non-zero exit status and information about your operating system. You can side step devtools by downloading the source directly from github here, and then installing from the local file as below:
The only catch in doing this is it may not be able to find necessary dependencies, which you can manually install. There are listed here under imports.
Thank you very much for your quick replies. I canât seem to install devtools completely, as it starts out fine then half way produces the error below:
------------------------- ANTICONF ERROR --------------------------- Configuration failed because openssl was not found. Try installing:
** * deb: libssl-dev (Debian, Ubuntu, etc)**
** * rpm: openssl-devel (Fedora, CentOS, RHEL)**
** * csw: libssl_dev (Solaris)**
** * brew: openssl@1.1 (Mac OSX)** If openssl is already installed, check that âpkg-configâ is in your PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=⌠LIB_DIR=âŚ' -------------------------------------------------------------------- ERROR: configuration failed for package âopensslâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/opensslâ** Warning in install.packages :
** installation of package âopensslâ had non-zero exit status** ERROR: dependency âopensslâ is not available for package âhttrâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/httrâ** Warning in install.packages :
** installation of package âhttrâ had non-zero exit status** ERROR: dependency âhttrâ is not available for package âghâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/ghâ** Warning in install.packages :
** installation of package âghâ had non-zero exit status** ERROR: dependency âhttrâ is not available for package âcovrâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/covrâ** Warning in install.packages :
** installation of package âcovrâ had non-zero exit status** ERROR: dependency âghâ is not available for package âusethisâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/usethisâ** Warning in install.packages :
** installation of package âusethisâ had non-zero exit status** ERROR: dependencies âusethisâ, âcovrâ, âhttrâ are not available for package âdevtoolsâ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/devtoolsâ** Warning in install.packages :
** installation of package âdevtoolsâ had non-zero exit status**
The downloaded source packages are in
** â/tmp/RtmpTPxP77/downloaded_packagesâ**
@jbisanz , I have run the lines you provided and it was okay until I got to
Installing package into â/home/allio/R/x86_64-pc-linux-gnu-library/3.5â (as âlibâ is unspecified) ERROR: dependencies âbiomformatâ, âphyloseqâ are not available for package âqiime2Râ
*** removing â/home/allio/R/x86_64-pc-linux-gnu-library/3.5/qiime2Râ** Warning in install.packages :
** installation of package âqiime2R-masterâ had non-zero exit status**
I am still unsure of the errors and potential causes of them. I really appreciate your help and hope I can start using qiime2R soon.