Check if the results object generated by irace has data about the testing phase.
has_testing_data(irace_results)
irace_results
The data generated when loading the .Rdata file created by irace (or the filename of that file).
.Rdata
irace
logical(1)