Error in knit( tangle = TRUE) when using eval chunk options

Please do read our FAQ for next time FAQ: How to Format R Markdown Source

tangle for qmd file is only supported since knitr 1.42 - Are you using this one ? please do update otherwise, and check it is working ok.

Thank you