GitNexus/gitnexus/test
Mick Cooney 3655e31b28 fix(r): parse multi-line NAMESPACE directives and unescape exportPattern strings
loadRPackageConfig read export(), exportClasses(), exportMethods(),
S3method() and exportPattern() line by line, so any wrapped directive was
silently skipped. Read them from the whole NAMESPACE text with the tokeniser
already used for importFrom(): the tokeniser is split into a shared
scanRNamespaceDirectives, and parseRNamespaceExports is a second consumer.
Wrapped, quoted, backticked, commented and CRLF directives now give the same
result as their single-line form; S3method() accepts its optional third
argument and exportPattern() accepts several patterns.

exportPattern() strings are now R-unescaped before compilation, so the R
string "\\." becomes the regex \. rather than \\. (unescapeRString handles
\\, \", \', \n, \t, \r, \a, \b, \f, \v and \x/\u/\U code points).

loadRPackageConfig changes only at the call site; no parse-cache output
changes.
2026-10-01 13:37:57 +01:00
..
fixtures test(r): add R grammar and sample-code coverage 2026-10-01 13:37:57 +01:00
helpers fix(r): register R in grammar-literal-validation gate's language maps 2026-10-01 13:37:57 +01:00
integration test(r): add R grammar and sample-code coverage 2026-10-01 13:37:57 +01:00
unit fix(r): parse multi-line NAMESPACE directives and unescape exportPattern strings 2026-10-01 13:37:57 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00