You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow content using the Quarto knitr engine to be deployed and to have a
manifest written. Today validate_quarto_engines (rsconnect/actions.py) accepts
only markdown and jupyter and rejects everything else, including knitr.
Why
knitr is the default Quarto engine for documents that mix R and Python chunks.
Now that rsconnect-python can carry R dependencies from renv.lock, the original
reason for excluding knitr no longer applies, so the rejection blocks a case
the tool can otherwise handle. Raised in review: #785 (comment)
References
rsconnect/actions.py (validate_quarto_engines) — the engine allowlist.
rsconnect/main.py — the four Quarto entry points already branch on "jupyter" in engines and handle the no-Python-environment case (markdown).
Goal
Allow content using the Quarto
knitrengine to be deployed and to have amanifest written. Today
validate_quarto_engines(rsconnect/actions.py) acceptsonly
markdownandjupyterand rejects everything else, includingknitr.Why
knitris the default Quarto engine for documents that mix R and Python chunks.Now that rsconnect-python can carry R dependencies from
renv.lock, the originalreason for excluding
knitrno longer applies, so the rejection blocks a casethe tool can otherwise handle. Raised in review:
#785 (comment)
References
validate_quarto_engines) — the engine allowlist."jupyter" in enginesand handle the no-Python-environment case (markdown).