My app works well on the local host but it doesn't work when deploying on shinyapps.io. No anysetwd()
is used in the code of app.
This is the error I get when running the deployed app URL:
An error has occurred
The application failed to start.
exit status 1
These are the packages used in app:
library(shiny)
library(bs4Dash)
library(shinydashboard)
library(fresh)
library(psych)
library(DT)
library(vroom)
library(ggrepel)
library(ggExtra)
library(colourpicker)
library(shinyWidgets)
library(shinyjs)
library(slickR)
library(png)
library(ggplot2)
library(dplyr)
library(tidyr)
I think the problem is that Gene-expression-data-GDSC.csv, which is a very important input file, doesn't upload to the /srv/connect/apps/cGEDs-dev as it is stated in the logs. Can the problem be because of large size of the file (167 MB)? How can I fix that? These are the logs:
2022-12-06T14:26:10.041546+00:00 shinyapps[7827229]: Attaching package: ‘ggplot2’
2022-12-06T14:26:10.041809+00:00 shinyapps[7827229]: The following objects are masked from ‘package:psych’:
2022-12-06T14:26:10.041841+00:00 shinyapps[7827229]: %+%, alpha
2022-12-06T14:26:10.061608+00:00 shinyapps[7827229]: Attaching package: ‘ggExtra’
2022-12-06T14:26:10.061844+00:00 shinyapps[7827229]: The following object is masked from ‘package:shiny’:
2022-12-06T14:26:10.061864+00:00 shinyapps[7827229]: runExample
2022-12-06T14:26:10.069203+00:00 shinyapps[7827229]: Attaching package: ‘colourpicker’
2022-12-06T14:26:10.069470+00:00 shinyapps[7827229]: The following object is masked from ‘package:ggExtra’:
2022-12-06T14:26:10.069492+00:00 shinyapps[7827229]: runExample
2022-12-06T14:26:10.069738+00:00 shinyapps[7827229]: The following object is masked from ‘package:shiny’:
2022-12-06T14:26:10.069763+00:00 shinyapps[7827229]: runExample
2022-12-06T14:26:10.145997+00:开发者_如何学编程00 shinyapps[7827229]: Attaching package: ‘shinyWidgets’
2022-12-06T14:26:10.146208+00:00 shinyapps[7827229]: The following object is masked from ‘package:psych’:
2022-12-06T14:26:10.146232+00:00 shinyapps[7827229]: progressBar
2022-12-06T14:26:10.146469+00:00 shinyapps[7827229]: The following object is masked from ‘package:bs4Dash’:
2022-12-06T14:26:10.146495+00:00 shinyapps[7827229]: progressBar
2022-12-06T14:26:10.153132+00:00 shinyapps[7827229]: Attaching package: ‘shinyjs’
2022-12-06T14:26:10.153379+00:00 shinyapps[7827229]: The following object is masked from ‘package:shinyWidgets’:
2022-12-06T14:26:10.153405+00:00 shinyapps[7827229]: alert
2022-12-06T14:26:10.153680+00:00 shinyapps[7827229]: The following objects are masked from ‘package:colourpicker’:
2022-12-06T14:26:10.153708+00:00 shinyapps[7827229]: colourInput, colourPicker, runExample, updateColourInput
2022-12-06T14:26:10.153947+00:00 shinyapps[7827229]: The following object is masked from ‘package:ggExtra’:
2022-12-06T14:26:10.153959+00:00 shinyapps[7827229]: runExample
2022-12-06T14:26:10.154204+00:00 shinyapps[7827229]: The following object is masked from ‘package:shiny’:
2022-12-06T14:26:10.154230+00:00 shinyapps[7827229]: runExample
2022-12-06T14:26:10.154470+00:00 shinyapps[7827229]: The following objects are masked from ‘package:methods’:
2022-12-06T14:26:10.154480+00:00 shinyapps[7827229]: removeClass, show
2022-12-06T14:26:10.186342+00:00 shinyapps[7827229]: Attaching package: ‘dplyr’
2022-12-06T14:26:10.186582+00:00 shinyapps[7827229]: The following objects are masked from ‘package:stats’:
2022-12-06T14:26:10.186599+00:00 shinyapps[7827229]: filter, lag
2022-12-06T14:26:10.186863+00:00 shinyapps[7827229]: The following objects are masked from ‘package:base’:
2022-12-06T14:26:10.186874+00:00 shinyapps[7827229]: intersect, setdiff, setequal, union
2022-12-06T14:26:10.662438+00:00 shinyapps[7827229]: Rows: 351500 Columns: 4
2022-12-06T14:26:10.669632+00:00 shinyapps[7827229]: ── Column specification ────────────────────────────────────────────────────────
2022-12-06T14:26:10.669655+00:00 shinyapps[7827229]: Delimiter: ","
2022-12-06T14:26:10.669660+00:00 shinyapps[7827229]: chr (3): Drug.name, Cell line, Cancer-Type
2022-12-06T14:26:10.669663+00:00 shinyapps[7827229]: dbl (1): IC50
2022-12-06T14:26:10.684681+00:00 shinyapps[7827229]: ℹ Use `spec()` to retrieve the full column specification for this data.
2022-12-06T14:26:10.684686+00:00 shinyapps[7827229]: ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
2022-12-06T14:26:10.932256+00:00 shinyapps[7827229]: Rows: 242399 Columns: 4
2022-12-06T14:26:10.947141+00:00 shinyapps[7827229]: ── Column specification ────────────────────────────────────────────────────────
2022-12-06T14:26:10.947164+00:00 shinyapps[7827229]: Delimiter: ","
2022-12-06T14:26:10.947170+00:00 shinyapps[7827229]: chr (3): Drug.name, Cell line, Cancer-Type
2022-12-06T14:26:10.947174+00:00 shinyapps[7827229]: dbl (1): IC50
2022-12-06T14:26:10.970421+00:00 shinyapps[7827229]: ℹ Use `spec()` to retrieve the full column specification for this data.
2022-12-06T14:26:10.970429+00:00 shinyapps[7827229]: ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
2022-12-06T14:26:10.981035+00:00 shinyapps[7827229]: Error: 'www/Gene-expression-data-GDSC.csv ' does not exist in current working directory ('/srv/connect/apps/cGEDs-dev').
2022-12-06T14:26:10.981050+00:00 shinyapps[7827229]: Shiny application exiting ...
2022-12-06T14:26:10.981096+00:00 shinyapps[7827229]: Execution halted
2022-12-06T14:42:07.810636+00:00 shinyapps[7827229]: Container event from container-7496175: stop
精彩评论