-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
When closing a container by explicitly passing the container ID, this raises an error when performed within a cli::cli() call.
cli::cli({
cli::cli_ul("a bullet")
})
#> • a bullet
cli::cli({
cli::cli_ul()
cli::cli_li("a bullet")
cli::cli_end()
})
#> • a bullet
cli::cli({
lid <- cli::cli_ul()
cli::cli_li("a bullet")
cli::cli_end(lid)
})
#> Warning in is.null(id) || is.na(id): 'length(x) = 4 > 1' in coercion to
#> 'logical(1)'
#> Error in if (id == "body") {: the condition has length > 1Created on 2022-07-14 by the reprex package (v2.0.1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior