I’m pretty sure this isn’t a Fedora issue. So I’d recommend posting on the dplyr issues site on GitHub - https://github.com/tidyverse/dplyr/issues. dplyr is a widely-used R package and it should compile everywhere without throwing an error in GCC.
I have the most recent GCC on my Arch Linux workstation and it installs dplyr with no problems. Let me try it on a Fedora container and see if I can troubleshoot it. Is dplyr the only package that’s throwing that error?
I got the error message for other dependent packages of dplyr as well. I am not sure if any fedora users get dplyr working on Fedora 28. I can install dplyr on my Fedora 27 but cannot install it on my wife’s Fedora 28 machine.
I’ve got good news. I ran dnf install R in two containers, fedora:28 and fedora:29. In R, install.packages("dplyr") fails in the Fedora 28 container on my machine (AMD CPU) with the same error you’re getting. But in the Fedora 29 container, it works!
So if you can upgrade to Fedora 29, you should have a working R again. I don’t know if it’s worth opening a bug in Bugzilla since it’s working on 27 and 29 but failing on 28. But if for some reason you can’t upgrade to 29, I’d say go ahead and file the bug.