I'm experiencing some troubles when trying to install seminr package. Can someone help me?
Warning messages:
1: In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/") :
installation of package 'xfun' had non-zero exit status
7: In utils::install.packages("seminr", repos = "https://cran.rstudio.com/") :
installation of package 'seminr' had non-zero exit status
restoring previous 'C:/Users/Alexandre/Documents/R/win-library/3.6/xfun'
Warning in install.packages :
installation of package ‘xfun’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Alexandre\AppData\Local\Temp\Rtmpea94Zc\downloaded_packages’
It seems you have R installed for both x32 and x64 architectures but you don't have RTools for x32.
If you don't need the 32-bit version I would recommend uninstalling it to avoid this kind of issues, but another way around is using the no-multiarch option.
Although, if I'm wrong and you are using the 32-bit version only, then you would need to check that you have a suitable version of RTools properly installed, or update your R version so you can have access to precompiled binaries.