Skip to content

Commit

Permalink
fix trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jan 23, 2024
1 parent eb99823 commit 4ab590e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/borrowed_ggplot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ check_labeller <- function(labeller) {
}
cli::cli_warn(c(
"The {.arg labeller} API has been updated. Labellers taking \\
{.arg variable} and {.arg value} arguments are now deprecated.",
{.arg variable} and {.arg value} arguments are now deprecated."
), i = "See labellers documentation.")
}
labeller
Expand Down

2 comments on commit 4ab590e

@olivroy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @teunbrand , it seems that this would be more appropriate?

cli::cli_warn(c(
    "The {.arg labeller} API has been updated. Labellers taking \\
    {.arg variable} and {.arg value} arguments are now deprecated.",
    i = "See labellers documentation."))

Warning looks like this:
The labeller API has been updated. Labellers taking
variable and value arguments are now deprecated.
ℹ See labellers documentation.

@teunbrand
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow you're quick with spotting this mistake!
Thanks for the heads up ^_^

Please sign in to comment.