klutometis/roxygen — pull request #83 by cbeleites (2012-03-13 10:13:26+00:00)
Title: remove ,class-method part of name_lookup -> fix for issue #82?

Dear Hadley,

I encounter spurious warnings that topics are not found for S4 methods where no "normal" function of that name exists.
I set up a minimal example package at cbeleites / roxygenize-inheritparams .

I think the problem is the inheritParam checking in https://github.com/klutometis/roxygen/blob/s4/R/roclet-rd.R l. 257
```R
rd_name <- names(Filter(function(x) inheritor %in% x, name_lookup))
```
name_lookup contains the full aliases, e.g. "mean_sd,numeric-method", but inheritor is "mean_sd" only.

```R
rd_name <- names(Filter(function(x) inheritor %in% sub (",.*$", "", x), name_lookup))
```
seems to fix it.