Hi,
I installed R 4.2.0 on Ubuntu (from CRAN apt repository) and some
startup errors lead me to Renviron.site and it's last line:
R_LIBS_SITE="/usr/local/lib/R/site-library/:${R_LIBS_SITE}:/usr/lib/R/library'"
Note the unmatched single quote just before the closing double quote.
That's a typo, is it not?
~Michal