Skip to contents

Wrapper for whoami::username

Usage

vt_username()

Details

@returns [character] Username of the person that called the function

Examples

withr::with_tempdir({
vt_use_validation(
    username_list = list(vt_user(
      username = whoami::username(),
      name = "test",
      title = "title",
      role = "role")))
vt_username()
})
#>  Adding '!*' to '././validation/.gitignore'
#> Created ./validation  in package structure
#> validation config file created. Add user information through `vt_add_user_to_config()`
#> [1] "test"