-
Notifications
You must be signed in to change notification settings - Fork 321
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
pkgdown::build_reference() fails on exported 'matches' function #2396
Comments
I see the same error. It looks like the problem is with the YAML parser, because a workaround is to include that topic using
and the same problem happens if you have a function named |
The problem appears to be happening here: https://github.com/r-lib/pkgdown/blame/3979e7c0afbba4503248dc8a6d04fe0a2e03f26f/R/topics.R#L136-L142 The code has already put the aliases as entries in |
…ironment as topic aliases. Fixes r-lib#2396.
Hi,
Overview
It seems that
pkgdown::build_reference()
fails if the exported function is named 'matches'.Such function can be e.g. found in
testthat
package:How to reproduce
Add
matches
to references in _pkgdown.yml:Then run:
Observed error:
Context
Please see more detailed context here.
The text was updated successfully, but these errors were encountered: