I tried everything! I tried resetting the CRAN mirror, uninstalling and then installing R, doing the same with all my packages in RStudio, hashtagging out the packages in RStudio...I have to knit a file to html and I am getting this message: (also, I tried testing another of my .rmd files in RStudio and even though in the past I could knit that one, I received this same error message)
Error in contrib.url(repos, "source") : Trying to use CRAN without setting a mirror
Hi Heather, welcome!
We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.
If you've never heard of a reprex before, you might want to start by reading this FAQ: