Skip to content

clone_gh_org_repos should respect branch field in packages.json#90

Merged
mpadge merged 3 commits intoropensci-review-tools:mainfrom
remlapmot:fix-branch
Mar 2, 2026
Merged

clone_gh_org_repos should respect branch field in packages.json#90
mpadge merged 3 commits intoropensci-review-tools:mainfrom
remlapmot:fix-branch

Conversation

@remlapmot
Copy link
Contributor

In https://github.com/MRCIEU/mrcieu.r-universe.dev/blob/main/packages.json we have to take quite a few repos from our forks (for some reason people write non-standard R packages in our field quite alot).

We send fixes from a branch on our fork. However this function isn't respecting the "branch" field, e.g.,

  {
    "package": "BWMR",
    "url": "https://github.com/remlapmot/BWMR",
    "branch": "suggestions"
  },

This adds that.

And also R CMD check says 3 non-standard files are found, so I added them to .Rbuildignore.

@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.32%. Comparing base (66c4dc5) to head (08c4f8b).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
R/packages-json.R 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   47.28%   47.32%   +0.03%     
==========================================
  Files          12       12              
  Lines        1510     1513       +3     
==========================================
+ Hits          714      716       +2     
- Misses        796      797       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mpadge mpadge merged commit 713f340 into ropensci-review-tools:main Mar 2, 2026
9 of 10 checks passed
@mpadge
Copy link
Member

mpadge commented Mar 2, 2026

Nice, that's a great externsion; thanks @remlapmot !

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.

2 participants