Both vitals_log_dir()
and vitals_log_dir_set()
return the current
value of the environment variable VITALS_LOG_DIR
. vitals_log_dir_set()
additionally sets it to a new value.
To set this variable in every new R session, you might consider adding it
to your .Rprofile
, perhaps with usethis::edit_r_profile()
.