Returns a code block that ends a psychTestR module. Modules have their own set of local variables. They also have identifying labels that are stored alongside result entries created during the module.
end_module()
Usually it is better to call module
instead.