carpentries / styles

Styles for The Carpentries lessons. No README to avoid merge conflicts with lessons. Demo 👇
https://carpentries.github.io/lesson-example
Other
84 stars 94 forks source link

Template issues with R lessons on Windows #564

Closed maxim-belkin closed 3 years ago

maxim-belkin commented 3 years ago

CI shows that there are some issues with R lessons on Windows (link) specifically with the "Install needed packages" step:

Run install.packages(setdiff(c('remotes', 'rprojroot', 'renv', 'desc', 'rmarkdown', 'knitr'), rownames(installed.packages())))
Installing packages into 'D:/a/_temp/Library'
(as 'lib' is unspecified)
Error in contrib.url(repos, "source") : 
  trying to use CRAN without setting a mirror
Calls: install.packages -> contrib.url
Execution halted
Error: Process completed with exit code 1.

This was introduced in ed77edaea17ac700970da9388d489256d5e3494e. CC @fmichonneau