You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Packages pane shows an unlabeled Browse button for packages with no browse URL #19470
RStudio Edition : Desktop or Server
RStudio Version : all current releases
OS Version : any
R Version : any
Describe the problem in detail
The Packages pane shows the Browse button for any package with a non-base source (showButtonImpl in src/gwt/src/org/rstudio/studio/client/workbench/views/packages/PackagesPane.java), even when it has no browse URL. .rs.inferPackageBrowseUrl returns "" for, for example, a package installed from a local path (source Local [path], no remote host).
For those rows:
the Browse column's title provider returns "", so the image has an empty alt and the span an empty title. The button has no accessible name and no tooltip.
clicking it calls openWindow with an empty URL.
Steps to reproduce
Install a package from a local source directory, e.g. install.packages("path/to/pkg", repos = NULL, type = "source") or remotes::install_local().
Look at its row in the Packages pane.
Expected
Rows with no browse URL don't show a Browse button.
Related: the fix for #19471 adds an ImageButtonColumn constructor that takes separate alt text and tooltip providers (the existing constructors use one string for both). It hasn't merged yet.
Whoever fixes this issue could also use it for the Browse column. Its accessible name currently includes the URL, e.g. "Browse package on GitHub [https://github.com/...]" (browsePackageOn / browsePackageLabel), so screen readers read the URL out. With the new constructor, the alt text could name the action (e.g. "Browse dplyr on GitHub") and the URL could stay in the tooltip, as #19471 does for the Help column.
Activity
gtritchie commentedon Nov 8, 2026
Related: the fix for #19471 adds an
ImageButtonColumnconstructor that takes separate alt text and tooltip providers (the existing constructors use one string for both). It hasn't merged yet.Whoever fixes this issue could also use it for the Browse column. Its accessible name currently includes the URL, e.g. "Browse package on GitHub [https://github.com/...]" (
browsePackageOn/browsePackageLabel), so screen readers read the URL out. With the new constructor, the alt text could name the action (e.g. "Browse dplyr on GitHub") and the URL could stay in the tooltip, as #19471 does for the Help column.gtritchie commentedon Nov 8, 2026
Also in this pane, the Remove button doesn't name the package, they all just say "Remove package". So we should fix this as part of this issue.
Name the Browse button without a source that isn't its site
Skip ImageButtonColumn events when the button is hidden
Compare the Packages pane's Base source by value
Name the Browse button "Browse <pkg>" without its source
Name Packages pane Browse and Remove buttons by package (#19522)