When trying to compile a Word document of my RScript, I get this error message
"Quitting from lines 3-62 [unnamed-chunk-1] (HW2.spin.Rmd)
Error in contrib.url()
:
! trying to use CRAN without setting a mirror
Backtrace:
- utils::install.packages("readxl")
- utils::contrib.url(repos, "source")
Execution halted"
I set the CRAN mirror to a local region and I've updated RStudio. I'm a beginner so I'm not sure what else to do.