tests/testthat/test_aaaa.R

# keras is pretty tenacious about writing output to the R session. By default
# this gets inserted into the test results. To make this less hideous, we
# try to trigger the output here so that it shows up at the top of the testing.

library(testthat)

# setting keras environment
Sys.setenv(TF_CPP_MIN_LOG_LEVEL = '3')
k_bk <- try(keras:::backend(), silent = TRUE)

Try the parsnip package in your browser

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

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.