Add a scheduled workflow to bump R package dependencies
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with the update-r-repository-snapshot.yml workflow in .github/workflows and the Python job from #475 that this issue mirrors. Then look at manifest.json and renv.lock in one R extension, such as pqr, to see which fields are generated and which are hand-edited. Done means a scheduled workflow restores each R extension's library, updates its packages, regenerates the manifest while keeping the extension section, and opens a PR.
索引モデルが issue の本文から書いたものです。
説明
#475 adds a weekly workflow that recompiles each Python extension's requirements.txt and opens a PR. R extensions have no equivalent, so their package versions only move when someone updates them by hand.
R extensions
Ten extensions record R packages in manifest.json:
| Extension | R version in manifest | renv.lock |
|---|---|---|
| connectwidgets-example | 4.4.2 | |
| portfolio-dashboard | 4.4.2 | |
| portfolio-report | 4.4.2 | |
| pqr | 4.3.3 | yes |
| quarto-stock-report-r | 4.4.2 | |
| runtime-version-scanner | 4.3.3 | yes |
| script-r | 4.4.2 | |
| stock-api-plumber | 4.4.2 | |
| stock-report | 4.4.2 | |
| usage-metrics-dashboard | 4.3.3 | yes |
Why this is more work than the Python job
The Python job only recompiles a text file. For R, the dependency versions live in the packages section of manifest.json, which rsconnect::writeManifest() generates from an installed library. So for each extension, a job would need to:
- Install R and restore the extension's library (e.g.
renv::restore(), from Package Manager binaries). - Update packages (e.g.
renv::update()), updatingrenv.lockwhere one exists. - Regenerate
manifest.jsonwithrsconnect::writeManifest()and keep theextensionsection and other hand-edited fields intact. - Open a PR, as the Python workflow does.
connect has no equivalent workflow to copy. Its closest one, update-r-repository-snapshot.yml, updates a Package Manager snapshot instead.
Example of why this matters
pqr is pinned to reticulate 1.46.0. When a new Python release needs a reticulate update, nothing will pick it up automatically. Right now pqr fails on preview Connect (Python 3.15): reticulate segfaults while initializing Python.
🤖 Generated with Claude Code
- 主要言語
- R
- スター
- 10
- フォーク
- 8
- 平均マージ
- 9時間 43分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/connect-extensions のほかの issue
-
enhancement github_actions
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
posit-dev/connect-extensions#492 ·
-
Bundle storage report with bulk retention-limit management (pins focus)対応中かも @kellobri が 2 日前に担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
posit-dev/connect-extensions#488 · コメント 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
posit-dev/connect-extensions#484 ·
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
posit-dev/connect-extensions#483 ·
-
mcp
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
posit-dev/connect-extensions#467 ·
posit-dev/connect-extensions の issue をすべて見る
似ている issue
-
could enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
paul-buerkner/brms#1985 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexing対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
PecanProject/pecan#4281 ·
メンテナーはふだん 1 日以内に返信
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never fires対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンComponent: R
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubenarslan/formr#60 ·