This is a test version of Biostars. For the public version, visit https://www.biostars.org.
unable to publish shiny apps

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

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.

0 answers

No answers yet.

Log in to answer this question.