Shiny’s icon() function only supports Font Awesome 4.7 icons. A full list of the icons supported by Shiny can be found here.
Since then, Font Awesome has been updated many times with new icons. How to use Font Awesome 5 icons in Shiny apps, or how to upgrade Font Awesome in Shiny to version 5?