Skip to content

Commit b0b6431

Browse files
committed
fix false positive R CMD check NOTE
1 parent f1ec950 commit b0b6431

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/package.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ py_require_legacy_keras <- function(extra_packages = TRUE) {
166166
},
167167

168168
on_error = function(e) {
169-
message(
169+
emit <- base::message
170+
emit(
170171
"To use legacy Keras via py_require(), call py_require_legacy_keras() at the start of the R session."
171172
)
172173
if (is_tensorflow_implementation())

0 commit comments

Comments
 (0)