From 5d9bf30e1321d785439aa2bd19630dbc0390c2c9 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Wed, 8 May 2024 07:38:43 -0600 Subject: [PATCH] Fix typo in cli message (#2519) --- R/rmarkdown.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/rmarkdown.R b/R/rmarkdown.R index 7352574a13..5577b8eccc 100644 --- a/R/rmarkdown.R +++ b/R/rmarkdown.R @@ -7,7 +7,7 @@ render_rmarkdown <- function(pkg, input, output, ..., seed = NULL, copy_images = output_path <- path_abs(output, pkg$dst_path) if (!file_exists(input_path)) { - cli::cli_abort("Can't find {src_path(input).", call = caller_env()) + cli::cli_abort("Can't find {src_path(input)}.", call = call) } cli::cli_inform("Reading {src_path(input)}")