posit-dev / posit-dev/positron

Back-to-back calls to R's help server (such as with searching) do not refresh

Open
#4,484 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: help bug lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Thank you so much @juliasilge ! I tried your version of ark and both ?? and help.search() are working now (making my life A LOT easier)! There is still one little glitch at the moment that is easy to fix - if two ?? commands are executed consecutively, the last one is not displayed. This can be replicated by:

  1. run ??cat (displayed normally)
  2. run ??dog (we are stuck at the cat page)

I think this is because the url doesn't change, therefore the page is not refreshed. A manual refresh of the help pane should be able fix it. I manually refreshed it via an external browser and the new help page is displayed normally.

Originally posted by @kv9898 in https://github.com/posit-dev/positron/issues/4320#issuecomment-2307887240

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Reproduce consecutive ??cat and ??dog commands, then inspect the help pane and R help-server request handling; done when the second result appears without a manual refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.