I have several students who use Windows and are running into a problem when trying to install packages and update their R versions. They both are running R 4.2.2 and I recommended using updateR() from the installr package, but when they try to install the package, it says it was build under R 4.2.3 and updateR() hangs.
However, on the installr page on CRAN, it says
Depends: R (≥ 2.14.0)
which suggests it shouldn't matter if they're running R 4.2.2.
Any ideas of what I could suggest to them aside from reinstalling from scratch?
I think these two things might be unrelated, and it is impossible to tell why the package hangs without debugging it.
Nevertheless, I don't recommend using the installr package, as it has some rather questionable choices when it comes to package libraries. E.g. creating a "global" package library at a non-standard place, copying packages between R versions, even if those packages are not incompatible with the target R version.