I have a problem with the installation of package. Namely, when I try to install it using "devtools::install_github("jbisanz/qiime2R" I get the following error:
WARNING: Rtools is required to build R packages, but is not currently installed.
Then I try to install Rtools, as recommended by the previous output, and I get the following result:
install.packages("rtools")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/u0114295/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘rtools’ is not available (for R version 3.6.1)
so it seems I cannot install rtools because the last version of it was for R 3.5.
Hi Mircea,
Yes it is. I'm wondering if this could be related to a previous version of R's install of readr and/or Rcpp. Could you try reinstalling the tidyverse and see if that makes a difference?
I reinstalled after i updated my R ver to 4.0 and the msg was like
devtools::install("qiime2R-master")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘cachem’
install.packages("cachem")
Error: package or namespace load failed for 'qiime2R' in library.dynam(lib, package, package.lib):
DLL 'tidyr' not found: maybe not installed for this architecture?
I have R v4.0.3, Tidyverse, tidyr and Rcpp all installed and up to date so I do not understand why qiime2r won't install.
Any suggestions?
------>
Never mind I fixed it... it was a broken install of tidyr which couldn't be removed
I fixed it by changing the name of the broken folder in R/win-library/4.0 (because it refused to be deleted, even after being uninstalled). The reinstall of tidyr fixed the install problems