Skip to content

error in roxygenising docs with 7.3.3 #803

@mcol

Description

@mcol

With roxygen2 7.3.3 I get this error on current main branch when running devtools::document():

Updating cli documentationLoading clicliapp-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:

cli/R/cliapp-docs.R

Lines 186 to 188 in 3dd94c0

#' ```{asciicast inline-escape}
#' msg <- "Error in if (ncol(dat$y)) {: argument is of length zero"
#' cli_alert_warning("{msg}")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions