unable to publish shiny apps
0
0
Entering edit mode
3.8 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

R rstudio • 1.3k views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

tried all the possible ways from googling , no luck from side.

ADD REPLY

Login before adding your answer.

Traffic: 2323 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6