-
Notifications
You must be signed in to change notification settings - Fork 233
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
Alias collision when documenting package which contains a function with the same name. #1160
Comments
Use |
Came here via r-lib/pkgdown#1414 |
So should the fix be documentation of the tip above or something else? |
I think it should be fixed in roxygen2. |
Hi all, |
Fixing this is going to require some thought, because we currently add the default aliases in I think we'd need to add something to |
There seems to have been a reversion sometime since this Stack Exchange answer was given; now when I make a new package
hello
usinghello/R/hello.R
:and
hello/DESCRIPTION
:and then build documentation, I get the following
hello/man/hello-package.Rd
:The
\alias{hello}
line conflicts with documentation forhello()
, resulting in theR CMD check
warningRd files with duplicated alias 'hello': ‘hello-package.Rd’ ‘hello.Rd’
The text was updated successfully, but these errors were encountered: