Gábor Csárdi
Gábor Csárdi
That code is coming from an R code chunk, an R code chunk can generate any text (+ graphics files) with the right knitr options. You can look at the...
> Can that be used in roxygen2 now? Seems like. Re. multiple output formats for graphs, knitr supports that natively, see e.g. https://bookdown.org/yihui/rmarkdown-cookbook/dev-vector.html and then I believe you need a...
@TimTaylor I believe you can already do that, and roxygen2 ignores "regular" comments, even among `#'` lines.
I meant ```r #' my title #' #' my description #' #' my details #' #----------------- #' #' @param x my param #' #----------------- #' #' @export demoroxy
@Bisaloo you also need this: https://github.com/tidyverse/purrr/blob/870696c7d9f3208298ea84a36d813ffd28e59e49/DESCRIPTION#L37
You can set `r6 = FALSE`, which lets you organize the classes, methods and files any way you like.
Here is an example that we use before roxygen2 had any R6 support: https://github.com/r-lib/processx/blob/v3.4.2/R/process.R#L5
Until this is implemented, you can use `cran/package@version` which will install `version` from https://github.com/cran/. E.g.: `cran/[email protected]`.
I thinks this has been sorted out now.
@bniebuhr Can you try using the suggested syntax? I.e. `any::pkgdown` and also `local::.` if you need to install the local package. See https://github.com/r-lib/actions/blob/788d7d59f05b5ac5b9cf4630428a2502514e98fb/examples/pkgdown.yaml#L35