R Shiny package installation

...I am using R studio version 3.5.1 in OS window 10.
i am unable to install R shiny package in this version of R studio.
the error is throwing as below
Warning in install.packages :
''''''''''' '''
unable to access index for repository my_favorite_CRAN_mirror/src/contrib:
scheme not supported in URL 'my_favorite_CRAN_mirror/src/contrib/PACKAGES'
Warning in install.packages :
unable to access index for repository my_favorite_CRAN_mirror/src/contrib:
scheme not supported in URL 'my_favorite_CRAN_mirror/src/contrib/PACKAGES'
Warning in install.packages :
package ‘shiny’ is not available (for R version 3.5.1)
Warning in install.packages :
unable to access index for repository my_favorite_CRAN_mirror/bin/windows/contrib/3.5:
scheme not supported in URL 'my_favorite_CRAN_mirror/bin/windows/contrib/3.5/PACKAGES
'''''''''''''
Any help from community will be highly welcomed.
thanks

Do you have sanitized that error message for some reason or your repository actually is "my_favorite_CRAN_mirror"? Try installing with this command instead.

install.packages('shiny', repos='http://cran.rstudio.com/')

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