With roxygen2 7.3.3 I get this error on current main branch when running devtools::document():
ℹ Updating cli documentation
ℹ Loading cli
✖ cliapp-docs.R:179: @section has mismatched braces or quotes.
Error in collapse(c(x$value$title, y$value$title), c(x$value$content, :
length(key) == length(value) is not TRUE
In addition: Warning message:
Failed to source `man/roxygen/meta.R`
The culprit is the code at line 187:
|
#' ```{asciicast inline-escape} |
|
#' msg <- "Error in if (ncol(dat$y)) {: argument is of length zero" |
|
#' cli_alert_warning("{msg}") |
With roxygen2 7.3.3 I get this error on current main branch when running
devtools::document():The culprit is the code at line 187:
cli/R/cliapp-docs.R
Lines 186 to 188 in 3dd94c0