yihui / knitr

A general-purpose tool for dynamic report generation in R
https://yihui.org/knitr/
2.36k stars 873 forks source link

Use a warning instead of an error for opts_current locking #2296

Closed cderv closed 9 months ago

cderv commented 9 months ago

This solves #2295 on our side by making for now the locking optional and only warn user.

Not sure if the immediate. is necessary but I figure it would be better that this is seen and not hidden in all aggregated warning.

I also added a message about the warning for now to become an error. maybe not the best wording... feel free to tweak !