call_main: Call 'main()'

View source: R/utils.R

call_mainR Documentation

Call 'main()'

Description

Call the function 'main()' with the script name and the command line argument. When the 'main()' finishes, exit with the return code as the program status.

Usage

call_main()

Examples

## Not run: 
if (sys.nframe() == 0) {
    call_main()
}

## End(Not run)


tanaylab/tgutil documentation built on March 16, 2024, 12:07 a.m.