Skip to content

Commit

Permalink
Merge pull request #262 from mijon/patch
Browse files Browse the repository at this point in the history
Fixes error message
  • Loading branch information
davidgohel authored Sep 3, 2023
2 parents b3ce299 + 5b56a1f commit 930155f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dsvg.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ dsvg <- function(file = "Rplots.svg", width = 6, height = 6, bg = "white",
abort("`width` must be a scalar positive number", call = NULL)
}
if (!is_valid_number(height) || height <= 0) {
abort("`width` must be a scalar positive number", call = NULL)
abort("`height` must be a scalar positive number", call = NULL)
}
if (!is_valid_string_non_empty(bg)) {
abort("`bg` must be a non-empty scalar character", call = NULL)
Expand Down

0 comments on commit 930155f

Please sign in to comment.