This function sets the class of the control list, with the default being the name of the calling function.
set.control.class(
myname = as.character(RDS::ult(sys.calls(), 2)[[1L]]),
control = get("control", pos = parent.frame())
)
The control list with class set.
Name of the class to set.
Control list. Defaults to the control
variable in the
calling function.
check.control.class, print.control.list