Thank you so much for your help. I changed the repository to http://cran.rstudio.com and deselected "Use secure download method for HTTP". It's a little weird, but when I try to install.packages again, I get the same error as if it's using the same repository as before. Why didn't it change?
#> install.packages ("tidyverse")
Warning in install.packages :
unable to access index for repository http://cran.mtu.edu/src/contrib:
cannot open URL 'http://cran.mtu.edu/src/contrib/PACKAGES'
Installing package into ‘C:/Users/canis/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Error in data.frame(name = names(getOption("repos")), host = "", url = as.character(getOption("repos")), :
arguments imply differing number of rows: 0, 1
Warning in install.packages :
unable to access index for repository http://cran.mtu.edu/src/contrib:
cannot open URL 'http://cran.mtu.edu/src/contrib/PACKAGES'
Warning in install.packages :
package ‘tidyverse’ 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 http://cran.mtu.edu/bin/windows/contrib/4.0:
cannot open URL 'http://cran.mtu.edu/bin/windows/contrib/4.0/PACKAGES'
<-