Hi @jbisanz could you help me with these error messages when trying to install QIIME2 R :
The downloaded binary packages are in
C:\Users\annik\AppData\Local\Temp\RtmpYDWoRY\downloaded_packages
√ checking for file 'C:\Users\annik\AppData\Local\Temp\RtmpYDWoRY\remotes44b8100175e9\jbisanz-qiime2R-2a3cee1/DESCRIPTION' (628ms)
- preparing 'qiime2R':
√ checking DESCRIPTION meta-information ... - checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
Omitted 'LazyData' from DESCRIPTION - building 'qiime2R_0.99.6.tar.gz'
Installing package into ‘C:/Users/annik/OneDrive - Colostate/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
- installing source package 'qiime2R' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 1.0.0 is already loaded, but >= 1.0.2 is required
Calls: ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'qiime2R' - removing 'C:/Users/annik/OneDrive - Colostate/Documents/R/win-library/4.1/qiime2R'
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\rlang\libs\x64\rlang.dll: Permission denied
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\00LOCK\glue\libs\x64\glue.dll to C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\glue\libs\x64\glue.dll: Permission denied
3: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\00LOCK\cli\libs\x64\cli.dll to C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\cli\libs\x64\cli.dll: Permission denied
4: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\00LOCK\magrittr\libs\x64\magrittr.dll to C:\Users\annik\OneDrive - Colostate\Documents\R\win-library\4.1\magrittr\libs\x64\magrittr.dll: Permission denied
5: In i.p(...) :
installation of package ‘C:/Users/annik/AppData/Local/Temp/RtmpYDWoRY/file44b83a58271a/qiime2R_0.99.6.tar.gz’ had non-zero exit status
Thank you! I think it is an issue with my OneDrive account, but I am not sure how to get around this.