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 April 4, 2025, 1:53 a.m.