prep_get_user_name function

Return the logged-in User's Full Name

Return the logged-in User's Full Name

If whoami is not installed, the user name from Sys.info() is returned.

prep_get_user_name()

Returns

character the user's name

Details

Can be overridden by options or environment:

options(FULLNAME = "Stephan Struckmann")

Sys.setenv(FULLNAME = "Stephan Struckmann")

  • Maintainer: Stephan Struckmann
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-03-05