Skip to content

Commit

Permalink
fix: add space after comma in require_namespaces() (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke authored Nov 21, 2024
1 parent 186783e commit 48bc214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/require_namespaces.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require_namespaces = function(pkgs, msg = "The following packages could not be l
if (quietly) {
return(FALSE)
}
msg = sprintf(msg, paste0(pkgs[ii], collapse = ","))
msg = sprintf(msg, toString(pkgs[ii]))
stop(errorCondition(msg, packages = pkgs[ii], class = "packageNotFoundError"))
} else if (quietly) {
return(TRUE)
Expand Down

0 comments on commit 48bc214

Please sign in to comment.