Learn R Programming

irace (version 1.07)

checkConfiguration: checkConfiguration

Description

checkConfiguration takes a (possibly incomplete) configuration of irace, checks for errors and transforms it into a valid configuration.

Usage

checkConfiguration(configuration = defaultConfiguration())

Arguments

configuration
A list where tagged elements correspond to configuration parameters of irace.

Value

The configuration received as a parameter, possibly corrected. Unset configuration settings are set to their default values.

Details

This function checks that the directories and the file names provided and required by the irace exist. It also checks that the parameters are of the proper type, e.g. that parameters expected to be integers are really integers. Finally, it also checks that there is no inconsistency between parameter values. If an error is found that prevents the irace from running properly, it will stop with an error.

See Also

readConfiguration for reading the irace configuration from a file. printConfiguration for printing the irace configuration. defaultConfiguration to get the default configuration.