Knitting a report with install_load_cran_packages('pkgName') for an R package pkgName that has not been installed interactively gives the following error:
Error in `contrib.url()`:
! trying to use CRAN without setting a mirror
Backtrace:
1. VISCtemplates::install_load_cran_packages(packages)
2. base::lapply(...)
3. VISCtemplates (local) FUN(X[[i]], ...)
4. utils::install.packages(package)
5. utils::contrib.url(repos, "source")
Knitting a report with
install_load_cran_packages('pkgName')
for an R packagepkgName
that has not been installed interactively gives the following error:@slager this appears to have been caused by the changes in https://github.com/FredHutch/VISCtemplates/pull/163