has_testing_data: Check if the results object generated by irace has data about...

View source: R/utils.R

has_testing_dataR Documentation

Check if the results object generated by irace has data about the testing phase.

Description

Check if the results object generated by irace has data about the testing phase.

Usage

has_testing_data(iraceResults)

Arguments

iraceResults

list()|character(1)
Object created by irace and typically saved in the log file irace.Rdata. If a character string is given, then it is interpreted as the path to the log file from which the iraceResults object will be loaded.

Value

logical(1)

Examples

irace_results <- read_logfile(system.file("exdata/irace-acotsp.Rdata", package="irace",
                                          mustWork=TRUE))
print(has_testing_data(irace_results))

irace documentation built on April 3, 2025, 10:03 p.m.