今天我遇到了一个奇怪的情况,我在R Shiny上开发了几天的应用程序,它在我的笔记本电脑上工作。今天我更换了我的电脑(安装了新的windows),当我运行我的应用程序时,它给了我这个错误:
This Font Awesome icon ('gears') does not exist:
* if providing a custom `html_dependency` these `name` checks can
be deactivated with `verify_fa = FALSE`
Error in widgetUserBox(title = "Alexander Pierce", subtitle = "Founder & CEO", :
could not find function "widgetUserBox"
我检查了一下,它在我的旧笔记本电脑上运行得很好。我尝试安装并遵循Solution mentioned here,但都不起作用。我还查看了this solution。在我的情况下什么都不管用。请在suggest,sinydashboard的最新更新包上提供帮助。
作为参考,我尝试运行示例代码,它给出了相同的错误:
widgetUserBox(
title = "Alexander Pierce",
subtitle = "Founder & CEO",
type = NULL,
src = "https://adminlte.io/themes/AdminLTE/dist/img/user1-128x128.jpg",
color = "aqua-active",
closable = TRUE,
"Some text here!",
footer = "The footer here!"
),
发布于 2021-10-04 00:13:11
这个问题的解决方案就是将ShinydashboardPlus的新版本从2.0.3降级到0.7.5。
代码如下:
require (devtools)
install_version("shinydashboardPlus", version="0.7.5",repos = "http://cran.us.r-project.org")
https://stackoverflow.com/questions/69430064
复制相似问题