R/utils.R
call_main.Rd
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.
call_main()
if (FALSE) { if (sys.nframe() == 0) { call_main() } }