Skip to contents

Returns normalized value of environment variable USERPROFILE, if defined, else value of HOME.

Usage

home(winslash = "/")

Arguments

winslash

path separator to be used on Windows (passed on to normalizePath)

Value

normalized value of environment variable USERPROFILE, if defined, else value of HOME.

Examples

home()
#> [1] "/home/runner"