Check whether the current workflow is production mode or test mode. Use the help_downsize function to get more help.

my_mode()

Value

"test mode" if getOption("downsize") is TRUE

and "production mode" if getOption("downsize") is FALSE or NULL.

Details

Use the help_downsize function to get more help.