Skip to content

Preserve array shape and resolve callbacks before S7 access - #30

Merged
mitchelloharawild merged 4 commits into
mitchelloharawild:mainfrom
t-kalinowski:fix/s7-compatibility-20261012
Oct 17, 2026
Merged

mitchelloharawild merged 4 commits into
mitchelloharawild:mainfrom
t-kalinowski:fix/s7-compatibility-20261012

Conversation

@t-kalinowski

Copy link
Copy Markdown
Contributor

Array replacement currently drops dimensions with development S7, and nested missing-value and vctrs operations can fail to find .f.

Update ranked indices in place so dimensions and dimension names survive replacement. Resolve the callback before reading the S7 property, preserving its evaluation context. Add a public array replacement regression for dimension names; existing array, predicate, and vctrs tests cover the reported failures.

Use S7’s load, unload, and build hooks when available, retaining methods_register() for older releases. On development S7, unloading removes the package’s external S7 methods and dependency hooks, and the build hook cleans external generic bindings after method declarations.

@mitchelloharawild mitchelloharawild left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the patch.

@mitchelloharawild
mitchelloharawild merged commit de4f8e9 into mitchelloharawild:main Oct 17, 2026
2 checks passed
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