Skip to content

Commit 4f3ff0a

Browse files
committed
tweak condition
1 parent 206b9ec commit 4f3ff0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/commonMachineLearningRegression.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@
535535
table$addFootnote(gettextf("The model is saved as <i>%1$s</i>.", basename(options[["savePath"]])))
536536
} else if (!identical(saveResult[["error"]], "success")) {
537537
table$addFootnote(gettextf("The model could not be saved because the following error occured: %s", saveResult[["error"]][["message"]]))
538-
} else if (!isTRUE(saveResult[["exists"]]) && !is.null(saveResult[["error"]])) {
539-
table$addFootnote(gettextf("The model could not be saved because an unexpected error occured."))
538+
} else if (!isTRUE(saveResult[["exists"]])) {
539+
table$addFootnote(gettext("The model could not be saved because an unexpected error occured."))
540540
}
541541
}
542542

0 commit comments

Comments
 (0)