Should point to the original function?
# Observed
downlit::href_topic("install_github", "devtools")
#> [1] "https://devtools.r-lib.org/reference/remote-reexports.html"
# Desired?
downlit::href_topic("install_github", "remotes")
#> [1] "https://remotes.r-lib.org/reference/install_github.html"
# Perhaps with referrer?
downlit::href_topic("install_github", "remotes")
#> [1] "https://remotes.r-lib.org/reference/install_github.html?ref=https://devtools.r-lib.org/reference/remote-reexports.html"
Created on 2022-03-23 by the reprex package (v2.0.1)
Should point to the original function?
Created on 2022-03-23 by the reprex package (v2.0.1)