I am sometimes unable to render quarto documents for my quarto website that I was previously able to render. When I try, it gives me the following error:
Error in if (n == 1) word else paste(word, "s", sep = "") :
the condition has length > 1
Calls: source ... sprintf -> <Anonymous> -> nplural -> paste -> plural
Execution halted
I noticed I also get this error when I restart my R session.
Error in if (n == 1) word else paste(word, "s", sep = "") :
the condition has length > 1
So when I googled, I found this code here: renv source: R/utils.R in the plural()
function.
I am not sure what this function does, or why it is causing my renders to fail, but any help would be greatly appreciated!
This is related to a previous post: quarto website `qmd`s not rendering