我有一个闪亮的应用程序,我试图部署在一个闪亮的服务器上。我在用这个包裹。
我在浏览器中得到了这个错误:
An error has occurred
The application failed to start.
The application exited during initialization.我在日志中得到了这个错误:
su: ignore --preserve-environment, it's mutually exclusive to --login.
Error in loadNamespace(name) : there is no package called ‘digest’
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted我安装了这个包,可以从我的服务器控制台加载它。
我确实查过:
> .Library
[1] "/tmp/Rtmp0j1ghM/renv-system-library"
# and
> .libPaths()
[1] "/var/www/others/formations_vne/shiny/vigie-analyse/renv/library/R-4.0/x86_64-pc-linux-gnu"
[2] "/tmp/Rtmp0j1ghM/renv-system-library" 摘要载于以下两方面:
/vigie-analyse/renv/library/R-4.0/x86_64-pc-linux-gnu# ls
anytime curl ggplot2 labeling ps scales tidyselect
askpass data.table gh later purrr selectr tinytex
attempt desc gitcreds lifecycle R6 sessioninfo urlchecker
base64enc devtools glue magrittr ragg shiny usethis
BH diffobj golem memoise rappdirs shinyBS utf8
blastula digest gtable mime rcmdcheck shinydashboard uuid
brew downlit here miniUI RColorBrewer shinydashboardPlus vctrs
brio dplyr highr munsell Rcpp shinyjs viridisLite
bslib ellipsis htmltools openssl rematch2 shinyWidgets waiter
cachem evaluate htmlwidgets pillar remotes sourcetools waldo
callr fansi httpuv pkgbuild renv spelling webshot
cli farver httr pkgconfig rlang stringi whisker
clipr fastmap hunspell pkgdown rmarkdown stringr withr
colorspace fontawesome ini pkgload roxygen2 svglite xfun
commonmark fresh isoband praise rprojroot sys xml2
config fs jquerylib prettyunits rstudioapi systemfonts xopen
cpp11 generics jsonlite processx rversions testthat xtable
crayon gert kableExtra profvis rvest textshaping yaml
credentials getPass knitr promises sass tibble zip
/tmp/Rtmp0j1ghM/renv-system-library# ls
base cluster datasets graphics KernSmooth Matrix nlme rpart stats tcltk
boot codetools digest grDevices lattice methods nnet spatial stats4 tools
class compiler foreign grid MASS mgcv parallel splines survival utils我真的不明白为什么我不能访问这个包。有谁想过吗?
发布于 2022-09-11 21:32:19
如果您在闪亮的服务器中运行应用程序,则它们是由闪亮的用户运行的,这意味着通往耳聋库的路径也可能有所不同。要查看闪亮的用户可以访问什么,您可以部署简单的应用程序,该应用程序将写入
.libPaths()
和
rownames(installed.packages())。
https://stackoverflow.com/questions/73661739
复制相似问题