Repository navigation
Avoid import warnings and update S7 package hooks - #45
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
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 Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
|
@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. |
When ale loads with development S7, importing
:=from both S7 and rlang warns that one import replaces the other. Keepimport(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.