Hello, I am a new R user. I am currently trying to install packages on my mac (macOS Mojave).
install.packages("class")
Warning in install.packages :
unable to access index for repository http://stat.ethz.ch/CRAN/src/contrib:
cannot open URL 'http://stat.ethz.ch/CRAN/src/contrib/PACKAGES'
package ‘class’ is not available (for R version 3.5.2)
Can anyone help me with this issue. Thanks in advance