The setDoSeq function is used to register a sequential backend with the
foreach package. This isn't normally executed by the user. Instead, packages
that provide a sequential backend provide a function named registerDoSeq
that calls setDoSeq using the appropriate arguments.