Returns the default engine corresponding to the specified algorithm.
get_default_engine(algo)
A character string containing the default engine name associated with the provided algorithm.
A character string specifying the name of the algorithm. The value should match one of the supported algorithm names.
The function uses a switch
statement to select the default engine based on the given algorithm. If the provided algorithm does not have a defined default engine, the function terminates with an error.