Rmarkdown file is not knitting, I am continously getting this error code.
processing file: cyclistic-bike-share-analysis—r-markdown-save.Rmd
|. | 2% [unnamed-chunk-1]
Quitting from lines 59-185 [unnamed-chunk-1] (cyclistic-bike-share-analysis—r-markdown-save.Rmd)
Error in contrib.url()
:
! trying to use CRAN without setting a mirror
Backtrace:
- utils::install.packages(“data.table”)
- utils::contrib.url(repos, “source”)
Execution halted
when i remove install.packages(“data.table”) from the code, i get the same error but for a different packages.
I am expecting to be able to knit my project in pdf, html or word format without any errors.
Ladi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.