Support the Quarto knitr engine when deploying content

未關閉 適合新手
#786 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
78/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
冷清
技術堆疊
python, r
領域
cli

研究方向

從 rsconnect/actions.py 中的 validate_quarto_engines 開始,追蹤目前的引擎驗證流程,接著檢查 rsconnect/main.py 中的四個 Quarto 進入點,以及它們現有的 jupyter 和 markdown 分支。以現有進入點和相關檢查為指引,確認使用 knitr 的 Quarto 內容部署能夠正常運作,包括寫入 manifest 以及沒有 Python 環境的情況。

由索引模型根據 Issue 內容生成。

描述

Goal

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:
https://github.com/posit-dev/rsconnect-python/pull/785#discussion_r3431999679

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).
  • renv.lock R-dependency support: PR: support for parsing renv.lock #785
主要語言
Python
星號
37
分支
28
平均合併
1 天 3 小時
30 天內合併 PR
7

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

posit-dev/rsconnect-python 的其他 Issue

查看 posit-dev/rsconnect-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。