From 7a8522e8785d7ec113e0e6a2b6ba2f964ceb5bf4 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Tue, 14 May 2024 14:57:33 -0700 Subject: [PATCH] Reinforce that skip is due to a package --- R/skip.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/skip.R b/R/skip.R index d0a1c7d97..0fd358877 100644 --- a/R/skip.R +++ b/R/skip.R @@ -101,7 +101,7 @@ skip_if <- function(condition, message = NULL) { #' @rdname skip skip_if_not_installed <- function(pkg, minimum_version = NULL) { if (!requireNamespace(pkg, quietly = TRUE)) { - skip(paste0(pkg, " cannot be loaded")) + skip(paste("Package", pkg, "cannot be loaded")) } if (!is.null(minimum_version)) {