Instalar dependencias de desenvolvimento do R-Studio $ sudo dnf install R-devel; Coloque a sua senha e depois tente instalar as coisas no seu R, normalmente.