From 89ed974567f22968190a9987a2772d80c437a17e Mon Sep 17 00:00:00 2001 From: Wes Hinsley Date: Sat, 16 Dec 2023 07:52:06 +0000 Subject: [PATCH] Update drivers/windows/R/paths.R Co-authored-by: Rich FitzJohn --- drivers/windows/R/paths.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/windows/R/paths.R b/drivers/windows/R/paths.R index 2f7279de..a64a2173 100644 --- a/drivers/windows/R/paths.R +++ b/drivers/windows/R/paths.R @@ -5,7 +5,7 @@ windows_path <- function(name, path_local, path_remote, drive_remote) { assert_scalar_character(drive_remote) if (!grepl("^[A-Za-z]:$", drive_remote)) { - cli::cli_abort("drive_remote must be of the form 'X:' (but was '%s')") + cli::cli_abort("drive_remote must be of the form 'X:' (but was '{drive_remote}')") } if (grepl("^[A-Za-z]:$", path_local)) {