Please help me - error trying to run a shiny dashboard

I have already installed Shiny, I have changed the R version, the mirror, everything, but the mistake is always there!

Loading required package: shiny
Installing package into 'C:/Users/user/Documents/R/win-library/3.6'
(as 'lib' is unspecified)
Error in contrib.url(repos, "source") :
trying to use CRAN without setting a mirror
Calls: ... withVisible -> eval -> eval -> install.packages -> contrib.url
Execution halted

It's hard to know without seeing your code, but the error suggests that you might be trying to install a package inside your app (not a good idea).

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.