thothal
thothal

Reputation: 20399

Inherit params seems not to work when importing from another library

I have a renderFunction with the following signature:

renderSemanticTable <- function(expr, 
                                format = c("striped", "selectable"),
                                type = c("auto", "definition", "structured"),
                                rownames = FALSE,
                                colnames = TRUE,
                                align = NULL,
                                color = NULL,
                                invert_color = FALSE,
                                stacking = c("auto", "unstackable", "tablet stackable"),
                                column_sizing = "auto",
                                fixed = FALSE,
                                size = c("auto", "small", "large"),
                                escape = TRUE) 

In my documentation I wanted to get some parameter docs from shiny::renderTable. Thus, I added

#' @inheritParams shiny::renderTable

to my roxygen2 block. However, when looking into the reuslting .Rd file, I do not find any entry for rownames.

Looking into the source code of renderTable on GitHub I see that rownames is documented together with colnames.

Is this an issue? In any case I am not able to get the documentation of rownames into my .Rd file. What is amiss? Is it a bug and I should file an issue?

Upvotes: 1

Views: 32

Answers (0)

Related Questions