Skip to content

Avoid import warnings and update S7 package hooks - #45

Merged
tripartio merged 4 commits into
tripartio:wipfrom
t-kalinowski:fix/s7-compatibility-20261012
Nov 2, 2026
Merged

tripartio merged 4 commits into
tripartio:wipfrom
t-kalinowski:fix/s7-compatibility-20261012

Conversation

@t-kalinowski

Copy link
Copy Markdown
Contributor

When ale loads with development S7, importing := from both S7 and rlang warns that one import replaces the other. Keep import(S7) and remove the explicit rlang := import, then regenerate NAMESPACE. Dynamic column assignments continue to work with both released and development S7.

Use the available S7 load, build, and unload hooks, retaining methods_register() with older S7. Unloading removes this package's dependency hooks and owned methods on external S7 generics. The existing S7 version requirement is preserved.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T14:15:28.275507Z 3bd70dd New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@t-kalinowski

Copy link
Copy Markdown
Contributor Author

Thanks for maintaining ale! I'm planning to submit the next version of S7 to CRAN on November 16 (see RConsortium/S7#786).

Would you be able to merge these compatibility changes and submit an updated version of ale to CRAN before then? Please let me know if you need more time or if there’s anything I can help with.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.70%. Comparing base (310179d) to head (3bd70dd).
⚠️ Report is 22 commits behind head on wip.

Files with missing lines Patch % Lines
R/000-startup.R 0.00% 5 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              wip      #45       +/-   ##
===========================================
+ Coverage   65.90%   77.70%   +11.79%     
===========================================
  Files          17       17               
  Lines        4840     4939       +99     
===========================================
+ Hits         3190     3838      +648     
+ Misses       1650     1101      -549     

☔ View full report in Codecov by Harness.
📢 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.

@tripartio
tripartio merged commit 108335c into tripartio:wip Nov 2, 2026
1 check passed
@tripartio

Copy link
Copy Markdown
Owner

@t-kalinowski Sorry for the delay; I had to take the time to examine the changes (even though there were just a few key lines). Thanks for the S7 patch.

I've been planning to submit the next CRAN version of ale soon; I'll try to do that by November 16, then.

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.

3 participants