Still I am facing the same issue.
install.packages("httr")
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open destfile 'C:\Users\Saravana\AppData\Local\Temp\Rtmp6JHOS1\file15982ac55444', reason 'No such file or directory'
Error in install.packages : cannot open the connection
> install.packages("C:/Users/Saravana/Downloads/sparklyr_0.9.1.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/Saravana/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
ERROR: dependencies 'assertthat', 'base64enc', 'broom', 'config', 'DBI', 'dplyr', 'dbplyr', 'digest', 'httr', 'jsonlite', 'lazyeval', 'openssl', 'r2d3', 'rappdirs', 'rlang', 'rprojroot', 'rstudioapi', 'shiny', 'withr', 'xml2', 'tibble', 'tidyr', 'purrr', 'forge' are not available for package 'sparklyr'
* removing 'C:/Users/Saravana/Documents/R/win-library/3.5/sparklyr'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘C:/Users/Saravana/Downloads/sparklyr_0.9.1.tar.gz’ had non-zero exit status
Error in gzfile(file, mode) : cannot open the connection
In addition: Warning message:
In gzfile(file, mode) :
cannot open compressed file 'C:\Users\Saravana\AppData\Local\Temp\Rtmp6JHOS1/libloc_185_a25398df.rds', probable reason 'No such file or directory'
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open destfile 'C:\Users\Saravana\AppData\Local\Temp\Rtmp6JHOS1\file159861a811a0', reason 'No such file or directory'
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open destfile 'C:\Users\Saravana\AppData\Local\Temp\Rtmp6JHOS1\file15981f4558b7', reason 'No such file or directory'
Error in gzfile(file, mode) : cannot open the connection