shinydashboard some Font Awesome Icons Not Working

后端 未结 3 471
长发绾君心
长发绾君心 2020-12-09 11:23

When using shinydashboard I find that some icons seem to work while some don\'t. In the below example, the battery-full icon doesn\'t work while the clock-o ico

3条回答
  •  鱼传尺愫
    2020-12-09 11:34

    Ok, I think the new ones in version 4.4 are not updated. You can probably request shiny team to update them and they will do it very easily. Alternatively you can do it yourself by downloading them and replacing the previous content...

    1. Go to the Font Awesome download page and get it

    2. Locate your font awesome folder where you installed shiny package. This should be somewhere like here ~\Documents\R\win-library\3.1\shiny\www\shared\font-awesome

    3. Replace the content of this folder with new contents (you can delete the previous content if you want). Below is what I put in there

    4. Now your app should work fine with new fonts

提交回复
热议问题