Re: [R-pkg-devel] A replacement idiom for \value{\item{\var{...}}{}}

2023-07-12 Thread Ivan Krylov
Dear Sebastian, Thank you for the advice! On Mon, 10 Jul 2023 20:08:23 +0200 Sebastian Meyer wrote: > I think a workaround that currently works for your use case is to use > \code{fooval.\var{m}} as the label (i.e., wrapped inside \code). The workaround works well, but I think I agree that \i

Re: [R-pkg-devel] A replacement idiom for \value{\item{\var{...}}{}}

2023-07-10 Thread Sebastian Meyer
Am 10.07.23 um 16:30 schrieb Ivan Krylov: Hello R-package-devel, I've got a function that returns a data.frame. The columns (and their names) of the return value are parametrised by the arguments of the function. See, for example, the following function: foo <- function(n = 10, out.M = c(2, 3,

[R-pkg-devel] A replacement idiom for \value{\item{\var{...}}{}}

2023-07-10 Thread Ivan Krylov
Hello R-package-devel, I've got a function that returns a data.frame. The columns (and their names) of the return value are parametrised by the arguments of the function. See, for example, the following function: foo <- function(n = 10, out.M = c(2, 3, 5)) as.data.frame(setNames( lapply(out.M,