Check if the results object generated by irace has data about the testing phase.
Source:R/utils.R
has_testing_data.Rd
Check if the results object generated by irace has data about the testing phase.
Arguments
- iraceResults
list()
|character(1)
Object created by irace and typically saved in the log fileirace.Rdata
. If a character string is given, then it is interpreted as the path to the log file from which theiraceResults
object will be loaded.
Examples
irace_results <- read_logfile(system.file("exdata/irace-acotsp.Rdata", package="irace",
mustWork=TRUE))
print(has_testing_data(irace_results))
#> [1] TRUE