GitNexus/gitnexus/test
Mick Cooney 86ec528225 fix(r): make rename refuse when the NAMESPACE reader may have hidden an export
The NAMESPACE scanner skipped conditional (if/else) bodies, dropped raw-string and
multi-line arguments, and discarded a malformed directive together with everything up
to the next column-0 directive, all silently. Rename treated 'not in the export lists'
as proof of privacy, so it could rename a function whose export() entry the reader had
never seen and leave NAMESPACE naming a missing function.

The scanner now reports when a skipped or discarded region names an export-family
directive, and parseRNamespaceExports also flags an argument of one that it cannot
read. loadRPackageConfig stores that as RNamespaceInfo.exportsUnreadable and rename
refuses with incomplete_semantics. An ordinary NAMESPACE, including conditional
imports, does not set it. The indexed isExported is unchanged. r-provider.md updated.
2026-10-18 15:45:51 +01:00
..
fixtures fix(r): make rename refuse when the NAMESPACE reader may have hidden an export 2026-10-18 15:45:51 +01:00
helpers test(r): let the rename verdict helper read <<- and = function definitions 2026-10-18 13:15:09 +01:00
integration fix(r): make rename refuse when the NAMESPACE reader may have hidden an export 2026-10-18 15:45:51 +01:00
unit fix(r): make rename refuse when the NAMESPACE reader may have hidden an export 2026-10-18 15:45:51 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00