Skip to content

Fix install on Windows, modernize CI, add Claude integration#2

Open
mrustl wants to merge 1 commit into
devfrom
fix/gh-actions-claude-encoding
Open

Fix install on Windows, modernize CI, add Claude integration#2
mrustl wants to merge 1 commit into
devfrom
fix/gh-actions-claude-encoding

Conversation

@mrustl
Copy link
Copy Markdown
Member

@mrustl mrustl commented May 23, 2026

Summary

  • Installation fix: remotes::install_github("kwb-r/qsimVis@dev") failed on Windows with input string 416 is invalid because of 9 verknet CSVs with German umlauts. Renamed to ASCII equivalents (Oe / Ue / Ae). qsimVis_ID columns in impetus/ mapping tables updated to match new filenames; model_IDs left unchanged to preserve compat with external QSim output.
  • GH Actions modernized to align with KWB-R/kwb.pkgbuild style: actions/checkout@v5, r-lib/actions/setup-r-dependencies@v2 + check-r-package@v2, codecov-action@v5, JamesIves/github-pages-deploy-action@v4.7.3.
  • Claude integration: added claude.yaml (responds to @claude mentions in issues/PRs) and claude-code-review.yaml (auto-reviews PRs), both from kwb.pkgbuild.

Action required

Set the CLAUDE_CODE_OAUTH_TOKEN repository secret in GitHub Actions settings — without it the two Claude workflows will fail at runtime.

Test plan

  • CI passes on this PR (R-CMD-check across mac/ubuntu/windows x release/devel/oldrel)
  • After merge to dev, verify remotes::install_github("kwb-r/qsimVis@dev") succeeds on Windows
  • Configure CLAUDE_CODE_OAUTH_TOKEN secret and verify @claude mention triggers the workflow

Generated with Claude Code

Resolves "input string 416 is invalid" error from
remotes::install_github("kwb-r/qsimVis@dev") on Windows by replacing
non-ASCII (umlaut) filenames in inst/extdata/verknet/ with ASCII
equivalents (Oe/Ue/Ae/oe/ue). qsimVis_ID columns in impetus
mapping tables updated to match new filenames; model_IDs left
unchanged to preserve compatibility with external simulation output.

Workflows aligned to KWB-R/kwb.pkgbuild style: actions/checkout@v5,
r-lib/actions/setup-r-dependencies@v2, codecov-action@v5,
JamesIves/github-pages-deploy-action@v4.7.3.

Adds claude.yaml and claude-code-review.yaml from kwb.pkgbuild
(requires CLAUDE_CODE_OAUTH_TOKEN secret to be set in repo settings).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mrustl mrustl requested a review from ma-z-am May 23, 2026 10:22
@mrustl
Copy link
Copy Markdown
Member Author

mrustl commented May 23, 2026

remotes::install_github("kwb-r/qsimVis@fix/gh-actions-claude-encoding") runs successfully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant