-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
Milestone
Description
In some functions in my package, I am inheriting arguments from lme4::lmer and lme4::glmer-
#' @inheritDotParams lme4::lmerThis works without any issue:
Source: https://indrajeetpatil.github.io/groupedstats/reference/grouped_lmer.html#arguments
But it is producing a WARNING in my R CMD CHECK-
> checking Rd cross-references ... WARNING
Missing link or links in documentation object 'grouped_lmer.Rd':
'[lme4]{list}' '[lme4]{offset}' '[lme4]{model.offset}'
See section 'Cross-references' in the 'Writing R Extensions' manual.This is not supposed to happen because this is not a reference in code, but in the documentation.
As @bbolker pointed out, this might be a roxygen2 buglet?
(specifically, here:
Lines 188 to 190 in e016a70
| src <- inheritors$source | |
| dest <- ifelse(has_colons(src), gsub("::", ":", src), paste0("=", src)) | |
| from <- paste0("\\code{\\link[", dest, "]{", src, "}}", collapse = ", ") |
Reactions are currently unavailable
