swirldev / swirl

:cyclone: Learn R, in R.
http://swirlstats.com
Other
1.14k stars 599 forks source link

Can't install Swirl on R or Rstudio- ver2023.061-524 #910

Open alkhamry opened 1 year ago

alkhamry commented 1 year ago

Trying to install swirl using commands on RStudio

install.packages("swirl") I'm getting error ( unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' Warning in install.packages : package ‘swirl’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages Warning in install.packages : unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.3: cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/PACKAGES')

library(swirl) Error in library(swirl) : there is no package called ‘swirl