Skip to content
Browse files

gg_dep: there is no error, it is stop

  • Loading branch information...
1 parent 2d1ffab commit 5bea646bea221d9a3d02c0b7ccae0502cac2d028 @BrianDiggs BrianDiggs committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/utilities.r
View
2 R/utilities.r
@@ -242,7 +242,7 @@ gg_dep <- function(version, msg) {
# current minor number is more than 1 greater than last-good minor number,
# give error.
if (cv[[1,1]] > v[[1,1]] || cv[[1,2]] > v[[1,2]] + 1) {
- error(msg, " (Defunct; last used in version ", version, ")",
+ stop(msg, " (Defunct; last used in version ", version, ")",
call. = FALSE)
# If minor number differs by one, give warning

0 comments on commit 5bea646

Please sign in to comment.
Something went wrong with that request. Please try again.