Comments (5)
I think it's unlikely that this is due to the different R versions. Have you tried installing the latest version from github on both systems? If you could include the output of sessionInfo()
or, better, devtools_session_info()
from both systems, that would be helpful.
from shinydashboard.
Using RRO (version 8.0.0) because I currently only have a 32-bit version of Windows. Same error on someone else's 64-bit Windows, but I don't have access to their session info at the moment.
> library(shiny)
> library(shinydashboard)
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
> menuItem("Dashboard", tabName = "dashboard", icon = icon("dashboard"))
<i class="fa fa-dashboard"></i>
Error in tagAssert(icon, type = "i") :
Expected an object with class 'shiny.tag'.
> devtools::session_info()
Session info------------------------------------------------------------------------------
setting value
version R version 3.1.1 (2014-07-10)
system i386, mingw32
ui RStudio (0.98.1103)
language (EN)
collate English_United States.1252
tz America/New_York
Packages----------------------------------------------------------------------------------
package * version date source
bitops 1.0.6 2013-08-17 CRAN (R 3.1.1)
caTools 1.17.1 2014-09-10 CRAN (R 3.1.1)
devtools 1.6 2014-09-23 CRAN (R 3.1.1)
digest 0.6.4 2013-12-03 CRAN (R 3.1.1)
htmltools 0.2.6 2014-09-08 CRAN (R 3.1.1)
httpuv 1.3.0 2014-04-04 CRAN (R 3.1.1)
Rcpp 0.11.3 2014-09-29 CRAN (R 3.1.1)
RJSONIO 1.3.0 2014-07-28 CRAN (R 3.1.1)
rstudioapi 0.1 2014-03-27 CRAN (R 3.1.1)
shiny * 0.10.1 2014-07-26 CRAN (R 3.1.1)
shinydashboard * 0.3.1 2015-04-15 Github (rstudio/shinydashboard@c06994c)
xtable 1.7.4 2014-09-12 CRAN (R 3.1.1)
Using CRAN:
> library(shiny)
> library(shinydashboard)
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
> menuItem("Dashboard", tabName = "dashboard", icon = icon("dashboard"))
<li>
<a href="#shiny-tab-dashboard" data-toggle="tab" data-value="dashboard">
<i class="fa fa-dashboard"></i>
<span>Dashboard</span>
</a>
</li>
> devtools::session_info()
Session info ------------------------------------------------------------------------------
setting value
version R version 3.1.3 (2015-03-09)
system i386, mingw32
ui RStudio (0.98.1103)
language (EN)
collate English_United States.1252
tz America/New_York
Packages ----------------------------------------------------------------------------------
package * version date source
devtools * 1.7.0 2015-01-17 CRAN (R 3.1.3)
digest * 0.6.8 2014-12-31 CRAN (R 3.1.3)
htmltools * 0.2.6 2014-09-08 CRAN (R 3.1.3)
httpuv * 1.3.2 2014-10-23 CRAN (R 3.1.3)
mime * 0.3 2015-03-29 CRAN (R 3.1.3)
R6 * 2.0.1 2014-10-29 CRAN (R 3.1.3)
Rcpp * 0.11.5 2015-03-06 CRAN (R 3.1.3)
RJSONIO * 1.3-0 2014-07-28 CRAN (R 3.1.3)
rstudio * 0.98.1103 2015-04-16 local
rstudioapi * 0.3.1 2015-04-07 CRAN (R 3.1.3)
shiny 0.11.1 2015-02-11 CRAN (R 3.1.3)
shinydashboard 0.3.1 2015-04-16 Github (rstudio/shinydashboard@c06994c)
xtable * 1.7-4 2014-09-12 CRAN (R 3.1.3)
from shinydashboard.
I think I see the problem: You need to update your version of shiny to at least 0.11.
from shinydashboard.
Good catch. RStudio was not detecting the need for updates (Tools->Check For Package Updates) when using the RRO version, and using install.packages()
would get the older version.
Thanks for your help!
For others' reference, these steps allowed me to get the most up to date versions of everything necessary.
devtools::install_github("rstudio/httpuv")
devtools::install_github("yihui/mime")
devtools::install_github("rstudio/shiny")
from shinydashboard.
I'm not completely sure, but I suspect the reason it didn't install a newer version of Shiny because RRO is on version 3.1.1, and CRAN doesn't supply binary packages for those older versions of R.
from shinydashboard.
Related Issues (20)
- Maximizing tabBox with a sidebar will add a horizontal Scrollbar to the box HOT 3
- Dashboard sidebar starts uncollapsed HOT 2
- SidebarMenu menuItem href elements contain the aria-selected tag HOT 1
- can not see my second tabitem after clicking action button HOT 1
- Error with publication of a Shiny App with R
- [Update request] The default icon for menuSubItem() "angle-double-right" is now "angles-right" in Font Awesome 6.0.0 HOT 5
- dynamic footer HOT 6
- FYI copyright on the shinydashboard website HOT 1
- dashboardPage shouldn't create <title> HTML tags if title = NULL HOT 1
- dashboardBody not showing when conditionalPanel is used HOT 1
- Toggling boxes to collapse has unexpected results with nested boxes HOT 1
- ShinyDash fails to render since R4.3 added to computer. HOT 3
- `shinydashboard::updateTabItems` not matching `shiny::updateTabsetPanel` HOT 2
- Why use unsecure AdminLTE? HOT 4
- Remove/hide footer from dashboard HOT 3
- Collapsible box not responding in my navbarPage Rshiny
- shinydashboard - "Get started" Tab [1 Link + 1 Typo] HOT 1
- shinydashboard - "Appearance" Tab [1 Punctuation]
- shinydashboard - "Behavior" Tab [1 Typo]
- I am using the R Package shinydashboard, now the dashboardSidebar is NOT showing in black background HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinydashboard.