The error message looks like an error in the install_keras function. Either you you entered something in a wrong way, or the installer is incompatible to your R version or to some other library. In that case there will be likely soon a fix. Check on
Keras or R forums how to install keras nowadays, or if such a problem is known.