Skip to content

Add interpreter-wide R help search support - #1401

Open
kv9898 wants to merge 5 commits into
posit-dev:mainfrom
kv9898:feature-help
Open

Add interpreter-wide R help search support#1401
kv9898 wants to merge 5 commits into
posit-dev:mainfrom
kv9898:feature-help

Conversation

@kv9898

@kv9898 kv9898 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is the R side prerequisite for posit-dev/positron#15923, to resolve posit-dev/positron#422.

Summary

  • add Help comm requests for interpreter-wide search and autocomplete topics
  • use utils::help.search() to search documentation across installed R packages, including unloaded packages
  • return package-qualified topic suggestions so duplicate aliases open the intended documentation
  • add integration coverage for search requests and topic suggestions

Verification

  • cargo +nightly fmt --all --check
  • cargo check --package ark
  • manually verified R search results and package-qualified topic selection in Positron

The targeted integration test reaches the new search handler locally, but cannot complete with the current system R installation because /usr/lib/R/doc/KEYWORDS.db is missing.

@kv9898
kv9898 marked this pull request as ready for review September 3, 2026 18:01
@kv9898
kv9898 marked this pull request as draft September 3, 2026 18:05
@kv9898
kv9898 marked this pull request as ready for review September 3, 2026 18:31
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.

Add an input to the help pane to look up a help topic

1 participant