ploner / coronavirus-r Goto Github PK
View Code? Open in Web Editor NEWSimple web app showing Coronavirus case data using R, Shiny and Plotly
License: MIT License
Simple web app showing Coronavirus case data using R, Shiny and Plotly
License: MIT License
After deploying to shinyapps.io, instead of the plots the warning ERROR: An error has occurred. Check your logs or contact the app author for clarification.
is shown.
See here
R version 3.4.4 (2018-03-15)
RStudio: Version 1.0.143 – © 2009-2016 RStudio, Inc.
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.0
1.I followed the Visualize COVID-19 case data in a blink of an eye — using R, Shiny & Plotly tutorial
2. I created a new free account at shinyapps.io,
3. Initially, when I attempted to publish, I saw the following output: Error when trying to deploy to shinyapps.io: application depends on package "crosstalk" but it is not installed. Please resolve before continuing.
This is repeated for a number of different packages.
4. Following the advice here, I ran the following in the console:
install.packages(c("crosstalk", "data.table", "fastmap", "hexbin", "htmlwidgets", "httpuv", "httr", "later", "lazyeval", "plotly", "rsconnect", "shiny", "sourcetools"))
ui.R
, just after the libraries shiny
and plotly
are loaded:library(crosstalk)
library(data.table)
library(fastmap)
library(hexbin)
library(htmlwidgets)
library(httpuv)
library(httr)
library(later)
library(lazyeval)
library(rsconnect)
library(sourcetools)
server.R
and ui.R
leads to a page with just a <pre>
tag error, and no interactive content.)120: function_list[[k]]
93: output$cumulatedMetrics
117: _fseq
12: fn
118: freduce
13: runApp
116: eval
7: connect$retry
115: eval
6: eval
107: func
113: %>%
112: renderPlotly [/srv/connect/apps/corona-app-v1/server.R#78]
5: eval
111: func
Warning: Error in UseMethod: no applicable method for 'layout' applied to an object of class "request"
121: layout
120: function_list[[k]]
117: _fseq
118: freduce
116: eval
115: eval
107: func
94: origRenderFunc
113: %>%
93: output$dailyMetrics
13: runApp
12: fn
5: eval
6: eval
112: renderPlotly [/srv/connect/apps/corona-app-v1/server.R#78]
7: connect$retry
111: func
Warning: Error in UseMethod: no applicable method for 'layout' applied to an object of class "request"
121: layout
120: function_list[[k]]
118: freduce
117: _fseq
116: eval
115: eval
112: renderPlotly [/srv/connect/apps/corona-app-v1/server.R#78]
113: %>%
111: func
107: func
94: origRenderFunc
93: output$cumulatedMetrics
13: runApp
12: fn
7: connect$retry
5: eval
6: eval
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.