Get current username
vt_username.Rd
Wrapper for whoami::username
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"