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. 16, 2023, 1:07 a.m.