tests/testthat.R

library(testthat)

if (Sys.getenv("TENSORFLOW_EAGER") == "TRUE")
  tensorflow::tfe_enable_eager_execution()

library(keras)

if (identical(Sys.getenv("NOT_CRAN"), "true")) {
  test_check("keras")
}

Try the keras package in your browser

Any scripts or data that you put into this service are public.

keras documentation built on Aug. 21, 2021, 9:07 a.m.