Hi,
My r markdown won't knit to html. It keeps giving me this message.
Seems to imply it has an issue with some of the packages installed for running linear regression (lm, car, sandwich) I don't know what to do about it. Please help me.
this is the messeg it gives me
Quitting from lines 21-35 (Assignment.Rmd)
Error in contrib.url(repos, "source") :
trying to use CRAN without setting a mirror
Calls: ... withVisible -> eval -> eval -> install.packages -> contrib.url
Execution halted
here's the code chunk from line 21-35
library(tidyverse)
install.packages('lmtest')
library(lmtest)
install.packages ("car", dependencies=TRUE)
library(car)
install.packages ("sandwich")
library(sandwich)
Kindly assist in resolving this please.
Thanks
M