My GitHub actions have suddenly started to selectively fail on Windows:
Seems to be due to failure to download stringi
:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
ERROR: lazy loading failed for package 'knitr'
there is no package called 'stringi'
##[error]Error: unable to load R code in package 'knitr'
* removing 'd:/a/_temp/Library/knitr'
Execution halted
Error in i.p(...) :
(converted from warning) installation of package 'knitr' had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
##[error]Process completed with exit code 1.
Any ideas on how I can avoid such failures?
Thanks.