Skip to content

feat: Support markup in link text for R >= 4.5.0 #1712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

salim-b
Copy link
Contributor

@salim-b salim-b commented Apr 22, 2025

From R 4.5.0 NEWS:

  • The Rd ⁠\link⁠ macro now allows markup in the link text when the topic is given by the optional argument, e.g., ⁠\link[=gamma]{\eqn{\Gamma(x)}}⁠.

This PR adapts roxygen2 internally to allow generating such Rd markup (6778eda).

Additionally, it updates unrelated test snapshots (bd6ba1a) and includes some cosmetic changes (4fc0a3a).

The failing test (resolve_link_package) is unrelated to this PR and should be fixed by #1711.

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.

1 participant