-
Related to #4107 and PRQL/prqlc-r#58 Currently Quarto CLI has a built-in process for converting knitr option names. I am working on implementing a new knitr engine in the prqlr package and am wondering if the option names should be in the dot pattern or the hyphen pattern. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is a feature request for the knitr 📦 I believe. knitr option does not use
would throw an error but
would not. I agree there is indeed something to think about though here, because we only convert known options. Regarding Happy to discuss this in an issue in knitr repo to see how we can improve for new engine author. Thanks for opening the discussion |
Beta Was this translation helpful? Give feedback.
-
yihui/knitr#2214 is now closed. With future knitr 1.44 (from dev version 1.43.7) now any knitr options using a This means that |
Beta Was this translation helpful? Give feedback.
This is a feature request for the knitr 📦 I believe. knitr option does not use
-
because it would need to be quoted when using in chunk headerwould throw an error but
would not.
I agree there is indeed something to think about though here, because we only convert known options.
Regarding
engine.opts
, it is used extensively to pass options to some engine, often using CLI tool. It is a way to get option namespaced and avoid conflict too.Happy to discuss this in an issue in knitr repo to see how we can improve for new engine author.
Thanks for opening the discussion