Repository navigation
Preserve image units and update S7 package hooks - #25
Merged
mrcaseb merged 4 commits intoOct 16, 2026
Merged
Conversation
Owner
|
Thank you for the fixes @t-kalinowski! And sorry for the issue this package caused. |
Contributor
Author
|
Thanks for including these compatibility updates in ggpath 1.1.2 on CRAN! I wanted to let you know that I'm planning to submit the next version of S7 to CRAN on November 16 (see RConsortium/S7#786). Please let me know if anything else comes up before then. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
element_path()cannot be defined with development S7 because its unit-valuedsizewidens the numeric text property inherited fromelement_text. Its constructors also initializeS7_object()instead of their declared parents.Store image sizes in
image_size, while retaining numeric and grid-unit constructor inputs and rendered image dimensions. Initialize real text and rectangle parent objects, let S7 establish the class vector, and use the default raster units instead of reading an undeclared property. Unit arithmetic is accepted through the common grid unit classes.Add public constructor and rendering regressions, and document the image-size property.
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.