Entering edit mode
4.5 years ago
koti1710
•
0
i am unable to publish my apps on shiny-server , found the below errors from log file.
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: source ... eval -> eval -> install.packages -> grep -> contrib.url
Execution halted
su: ignore --preserve-environment, it's mutually exclusive to --login.
Error in library(leaflet) : there is no package called ‘leaflet’
Calls: runApp ... sourceUTF8 -> eval -> eval -> ..stacktraceon.. -> library
Execution halted
Installing package into ‘/home/shiny/R/x86_64-redhat-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: runApp ... install_load -> install.packages -> grep -> contrib.url
Execution halted
thanks
You don't provide any information as to how you are trying to deploy and where the shiny-server is located (is it local or remote?).
Did you search for
shiny trying to use CRAN without setting a mirror
? There is a good number of hits, several with detailed solutions.tried all the possible ways from googling , no luck from side.