Skip to content

Commit

Permalink
gg_dep: there is no error, it is stop
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianDiggs committed Oct 26, 2012
1 parent 2d1ffab commit 5bea646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utilities.r
Expand Up @@ -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
Expand Down

0 comments on commit 5bea646

Please sign in to comment.