Add default options if unset.

addDefault(options)

Arguments

options

an options list

Value

an updated options list with the default records added for unspecified fields

Examples

opts <- addDefault(list())