The working directory can be set in one of two ways – (a) explicitly by the user by passing a value using the parameter plot.dir in a function, or (b) by setting the working directory globally as part of the r environment (gl.setwd). The default is in acccordance to CRAN set to tempdir().
gl.check.wd(wd = NULL, verbose = NULL)
the working directory
gl.check.wd()
#> Starting gl.check.wd
#> Working directory: /tmp/RtmpaU40iz
#> Completed: gl.check.wd
#>
#> [1] "/tmp/RtmpaU40iz"