Skip to content

Commit

Permalink
Merge pull request #562 from MichaelChirico/patch-1
Browse files Browse the repository at this point in the history
Build message with paste0 to avoid extra spaces
  • Loading branch information
gaborcsardi authored Jun 28, 2023
2 parents c0a3f31 + 5fa1148 commit 88f50d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ assert_validated_email_for_check <- function(email) {
if (is.null(code)) {
if (is_interactive()) {
cat("\n")
message(paste(collapse = "\n", strwrap(indent = 2, exdent = 2, paste(
sQuote(crayon::green(email)), "is not validated, or does not match",
"the package maintainer's email. To validate it now, please enter",
"the email address below. Note that R-hub will send a token to",
"this address. If the address does not belong to you, quit now by",
message(paste(collapse = "\n", strwrap(indent = 2, exdent = 2, paste0(
sQuote(crayon::green(email)), " is not validated, or does not match ",
"the package maintainer's email. To validate it now, please enter ",
"the email address below. Note that R-hub will send a token to ",
"this address. If the address does not belong to you, quit now by ",
"pressing ", crayon::yellow("ENTER"), "."
))))
cat("\n")
Expand Down

0 comments on commit 88f50d8

Please sign in to comment.