FR: Auto-detect Quarto's bundled pandoc as fallback
まだ誰も着手していません。
評価
調査の方向性
言及されている CLI エントリーポイント btw_tool_docs_help_page から始め、rmarkdown::pandoc_available() をどのように確認しているかを調べてください。提案されている macOS、Windows、Linux 向けの Quarto パスを検証し、検出されたバンドル済みの pandoc がセッションで利用可能になることを確認してください。何も見つからない場合の既存のエラーは変更しないでください。
索引モデルが issue の本文から書いたものです。
説明
(Potential upstream issue.)
Hi folks.
I just ran into this error on a new laptop, whilst calling some of the btw help documentation tools (e.g., btw_tool_docs_help_page) from the CLI:
Mcp error: -32603: pandoc is required and was not found (see the help page ?rmarkdown::pandoc_available).
The error is obvious enough; I didn't have pandoc installed as a "standalone" binary and available on my PATH (via my package manager). OTOH it's not the full truth, since I do have Quarto installed and this obviously bundles its own pandoc. I can imagine that other users are in a similar boat and this made me think that having a fallback option to / check for Quarto pandoc would be a useful feature.
What do you think about adding automatic detection of Quarto's bundled pandoc as a fallback when rmarkdown::pandoc_available() returns FALSE? Specifically, we could check common Quarto installation paths:
- macOS:
/Applications/quarto/bin/tools/pandoc - Windows:
~/AppData/Local/Programs/Quarto/bin/tools/pandoc - Linux:
/opt/quarto/bin/tools/pandoc
If found we could set Sys.setenv(RSTUDIO_PANDOC = <path>) to make it available to rmarkdown during this session?
- 主要言語
- R
- スター
- 150
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/btw のほかの issue
-
難易度 4/5 1〜2日 初心者へのやさしさ 25/100
-
Codemode: MCP and tools via the run R tool再び着手できるかも @gadenbuie が 58 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
似ている issue
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothオープンarea/ode-pde good first issue help wanted kind/contract severity/4-minor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Apich-Organization/rssn#383 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PRL-PRG/r-compile-server#70 · コメント 1 件 ·
-
dependencies docker enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
posit-dev/images-workbench#257 ·
メンテナーはふだん 1 日以内に返信
-
dependencies docker enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
posit-dev/images-package-manager#188 ·
メンテナーはふだん 1 日以内に返信
-
dependencies docker enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
posit-dev/images-connect#222 ·
メンテナーはふだん 1 日以内に返信