This will prevent errors later. It could be done similar to this for each task:
if (!all(is.numeric(object[[task]][[value]]))) stop("Performance values must be numeric.")
This will prevent errors later. It could be done similar to this for each task:
if (!all(is.numeric(object[[task]][[value]]))) stop("Performance values must be numeric.")