--- Please select a CRAN mirror for use in this session ---
Error in download.file(url, destfile = f, quiet = TRUE) :
unsupported URL scheme
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
unsupported URL scheme
Utilizar a sintaxe:
install.packages(<package_name>, dependencies=TRUE, repos='http://cran.rstudio.com/')
Exemplo:
install.packages('ggplot2', dependencies=TRUE, repos='http://cran.rstudio.com/')