Skip to content

Commit

Permalink
Reinforce that skip is due to a package
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed May 14, 2024
1 parent f060cce commit 7a8522e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/skip.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7a8522e

Please sign in to comment.