This function gets the name of the current user, which is used to set the 'Creator' and 'Last Modified By' fields when running report_from_sql() or report_from_data()

get_user(default = getOption("qr.user"))

Arguments

default

A default which can be set using options()

Value

A character vector of length 1

Details

If a default is not set this function gets the username from