Skip to content

Commit 731da14

Browse files
committed
Lean in to {.run ...} more
Closes #2686
1 parent cc4d70c commit 731da14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

R/release.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ cran_comments <- function(pkg = ".", call = parent.frame()) {
219219
c(
220220
x = "Can't find {.file cran-comments.md}.",
221221
i = "This file is used to communicate your release process to the CRAN team.",
222-
i = "Create it with {.code use_cran_comments()}."
222+
i = "Create it with {.run usethis::use_cran_comments()}."
223223
),
224224
call = call
225225
)

R/test.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test <- function(
3232
cli::cli_inform(c(i = "No testing infrastructure found."))
3333
if (!interactive()) {
3434
cli::cli_bullets(c(
35-
"!" = 'Setup testing with {.code usethis::use_testthat()}.'
35+
"!" = 'Setup testing with {.run usethis::use_testthat()}.'
3636
))
3737
return(invisible())
3838
}

0 commit comments

Comments
 (0)