GitNexus/docs/languages
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
..
jupyter-notebook.md feat: index Jupyter notebooks as Python (#3381) 2026-09-27 05:54:37 +00:00
local-import-scoping.md docs: count 19 providers in the local import scoping guide 2026-10-16 17:50:58 +01:00
objective-c-provider.md feat(indexing): add Objective-C semantic indexing support (#3179) 2026-09-09 09:40:21 +00:00
r-provider.md fix(r): make rename refuse when the NAMESPACE reader may have hidden an export 2026-10-18 15:45:51 +01:00