Skip to content

Follow explicit roxygen class names in References and Rename - #898

Merged
renkun-ken merged 11 commits into
masterfrom
codex/roxygen-generator-references
Dec 1, 2026
Merged

renkun-ken merged 11 commits into
masterfrom
codex/roxygen-generator-references

Conversation

@renkun-ken

Copy link
Copy Markdown
Member

Part 4 of the review split for #894. The base is #897.

This uses the preceding source-owner checks to add navigation for explicit class spellings. Find References and Rename distinguish a lexical generator or alias from a nominal class. A Rename changes only the identifier in a verified source type marker, preserving grouping, qualification and formatting.

Box <- R6::R6Class("Box", public = list(value = 1L))
#' @param x (`Box`) A box.
read_box <- function(x) x$value

Renaming Box to Container updates its binding and the class spelling in the @param marker. Source-order and scope checks cover source() callers with different bindings and refuse an ambiguous edit. The commit retains master’s cold formal-reference optimization and data-mask protections.

@renkun-ken
renkun-ken added this pull request to stack #909 November 30, 2026 02:07
eitsupi

This comment was marked as off-topic.

Base automatically changed from codex/source-binding-owners to master November 30, 2026 23:22
@renkun-ken
renkun-ken merged commit b42e809 into master Dec 1, 2026
16 checks passed
@renkun-ken
renkun-ken deleted the codex/roxygen-generator-references branch December 1, 2026 00:16
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