【发布时间】:2020-02-17 22:59:22
【问题描述】:
所以,我想知道是否有人对此有所了解。
我有一个可以在我的计算机上运行的应用程序,但是当我尝试使用 shinyapps.io 部署它时,我只收到一条错误消息。
这是我收到的错误消息:
Error in value[[3L]](cond) : there is no package called ‘tidyverse’
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Halted execution.
我的会话信息是:
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shinydashboard_0.7.1 sf_0.8-0 plotly_4.9.1 shinythemes_1.1.2
[5] vctrs_0.2.0 ggcorrplot_0.1.3 DT_0.10 forcats_0.4.0
[9] stringr_1.4.0 dplyr_0.8.3 purrr_0.3.3 readr_1.3.1
[13] tidyr_1.0.0 tibble_2.1.3 ggplot2_3.2.1 tidyverse_1.3.0
[17] shiny_1.4.0 rsconnect_0.8.16
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 lubridate_1.7.4 lattice_0.20-38 class_7.3-15 assertthat_0.2.1
[6] zeallot_0.1.0 digest_0.6.23 packrat_0.5.0 mime_0.7 R6_2.4.1
[11] cellranger_1.1.0 backports_1.1.5 reprex_0.3.0 e1071_1.7-3 httr_1.4.1
[16] pillar_1.4.2 rlang_0.4.2 lazyeval_0.2.2 curl_4.2 readxl_1.3.1
[21] data.table_1.12.8 rstudioapi_0.10 htmlwidgets_1.5.1 munsell_0.5.0 broom_0.5.2
[26] compiler_3.6.1 httpuv_1.5.2 modelr_0.1.5 pkgconfig_2.0.3 askpass_1.1
[31] htmltools_0.4.0 openssl_1.4.1 tidyselect_0.2.5 viridisLite_0.3.0 crayon_1.3.4
[36] dbplyr_1.4.2 withr_2.1.2 later_1.0.0 grid_3.6.1 nlme_3.1-140
[41] jsonlite_1.6 xtable_1.8-4 gtable_0.3.0 lifecycle_0.1.0 DBI_1.0.0
[46] magrittr_1.5 units_0.6-5 scales_1.1.0 KernSmooth_2.23-15 cli_1.1.0
[51] stringi_1.4.3 fs_1.3.1 promises_1.1.0 xml2_1.2.2 generics_0.0.2
[56] tools_3.6.1 glue_1.3.1 hms_0.5.2 fastmap_1.0.1 colorspace_1.4-1
[61] classInt_0.4-2 rvest_0.3.5 haven_2.2.0
【问题讨论】:
-
不要加载 tidyverse 包,这只是为了方便加载一堆其他包,尝试只加载您实际需要使用的包,例如dplyr、stringr 等。除此之外,帖子中还需要更多信息
-
感谢您的建议。我试过了,但不幸的是它没有用。它会引发我尝试加载第一个包的错误(闪亮除外)。
-
我的应用程序很长,所以我将尝试用一个可重复的小示例创建另一个问题。我怀疑问题可能与编码有关,因为我使用的是西班牙语字符。
-
或者可能是lib.path的问题
-
这是您的会话信息,还是 shinyapps.io 上的会话信息?
标签: r shiny tidyverse shinyapps