rshinyinstall.packages

Cannot install the shiny package in R


I am trying to install the shiny package in R but I keep getting this error:

ERROR: dependencies 'later', 'promises', 'rlang' are not available for 
package 'shiny'
* removing 'C:/Users/sawyer.keels/Documents/R/win-library/3.2/shiny'

The downloaded source packages are in

‘C:\Users\sawyer.keels\AppData\Local\Temp\RtmpuWfNw6\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.4RE/bin/x64/R" CMD INSTALL -l "C:\Users\sawyer.keels\Documents\R\win-library\3.2" C:\Users\SAWYER~1.KEE\AppData\Local\Temp\RtmpuWfNw6/downloaded_packages/shiny_1.1.0.tar.gz' had status 1 
2: In install.packages("shiny") :
  installation of package ‘shiny’ had non-zero exit status

If anyone has had this issue in the past I would appreciate the help. Thanks


Solution

  • Try installing the dependency packages:

    install.packages(c("later","promises","rlang"))
    

    Thereafter try to install shiny again:

    install.packages("shiny")
    

    Let me know if it works.