-
Notifications
You must be signed in to change notification settings - Fork 235
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
Request: make missing link warnings more verbose #1135
Comments
Is pull #1109 potentially related? |
Maybe, but you can also search for |
Hi @gaborcsardi , just figured it out. I was using this line to inherit some params from #' @inheritParams tibble::as_tibble Taking this out gets rid of the warning. I think it may have to do with this Rd code being linked:
Not sure how that goes up the stack to result in the See related commit in pipette package for details. |
Interesting. I'll reopen this, because it seems to be a bug if |
I'm hitting this issue again with another package, and the warning is time consuming to debug. This time I'm hitting:
And I have no idea which Rd file this link is being pulled from. If there is a way to add a traceback for the link failure, it would be super helpful. |
In case anyone else hits an issue like this, here's the link problem I hit: https://github.com/acidgenomics/pointillism/blob/v0.4.12/R/plotCounts-methods.R#L11
|
This seems related: I want to add a Note to the But Line 436 in 513c9e2
|
@mjsteinbaugh this is newly happening in one of my packages. How did you find the source of it? |
@baderstine It's a tough thing to track down. I've been looking through the Rd documentation files manually until I spot the problem. |
@mjsteinbaugh I recently updated all dependent packages and updated the R version to the latest version, v. 4.0.5. Using devtools::document(), the warning mentioned above is now coming up in the new version of roxygen2 (7.1.1) that it didn't before.
Session Info:
```
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16, RStudio 1.2.1335
Locale: en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8 Package version:
|
I'm getting the same as @phargarten2.
|
I have the same error but the source is |
@jatkins23 Still an unresolved issue, unfortunately! What I started doing in my code is intentionally avoid linking to package documentation that I don't write myself. This helps avoid breaking changes that are then hard to debug currently with roxygen2. |
Does anyone have a reprex for this? |
@hadley I'll see if I can make one this week |
Note to self: looks like there are at least two problems here:
|
Hey, So, this is not a perfect reprex as it is not minimal but here is a way to reliably reproduce this:
which will end up with :
|
@ColinFay thanks! |
I should have a fix for this later today or tomorrow, but my analysis suggests that these warnings are almost always harmless and you can just ignore them. |
Hi, I'm seeing this warning now pop up in roxygen2 for one of my packages:
I'm having trouble locating the source of this warning. Is there a way we can tweak roxygen2 to return which Rd file and line in particular is causing the issue?
The text was updated successfully, but these errors were encountered: