Latest Rtools seems to be incompatible with the latest R

Please read Rtools.txt file in Rtools installation directory. Especially the GCC toolchain section. There is information how to add environmental variable BINPREF. Setting it correctly will fix the issue you are facing.