Sanitise a spec for a 'custom' pack

sanitise_spec_custom(spec)

Arguments

spec

named list object with 'type', 'nbits', etc

Value

Return sanitised spec with any generic default values set