R-4.2.1 for Windows: Error when installing packages

Hi,
I'm quite new to R and would appreciate your help.

I have Windows 10 Pro and installed R-4.2.1 for Windows and RStudio Desktop 2022.07.1+554, and got the following error when trying to install any package (I hadn't that problem with older versions). Does anyone know how to solve it?

install.packages("lme4")
Installing package into ‘C:/Users/Susana Araújo/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/lme4_1.1-30.zip'
Content type 'application/zip' length 4884652 bytes (4.7 MB)
downloaded 4.7 MB

package ‘lme4’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Susana Araújo\AppData\Local\Temp\RtmpiogyFp\downloaded_packages
Error in nchar(homeDir) : invalid multibyte string, element 1