I'm trying to load Tidyverse into a script for some data analysis, but I'm running into this error that I can't even begin to parse on my own:
Error: package or namespace load failed for ‘tidyverse’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/syu01/Documents/R/win-library/4.1/xml2/libs/x64/xml2.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
In addition: Warning message:
package ‘tidyverse’ was built under R version 4.1.2
I have no idea how to resolve this. I suspect it might have something to do with the fact that I set a different working directory prior to the install, since I have never had problems with working with any of the other constituent packages of the tidyverse until now on my machine.