Rubber duck debugging. Photo by Timothy Dykes. If Google leads you here, you probably assigned a character value to a knitr chunk option such as fig.width or fig.height that only accepts numeric values, and your are trying to render that R Markdown or Quarto document.
The exact error message you encountered looks like this:
Error in options[[sprintf("fig.%s", i)]] * options$dpi: ! non-numeric argument to binary operator Backtrace: 1. rmarkdown::render("example.Rmd", encoding = "UTF-8") …