gl.check.wd: Checks the global working directory

View source: R/gl.check.wd.r

gl.check.wdR Documentation

Checks the global working directory

Description

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.set.wd). In accordance with CRAN policy, the default is tempdir().

Usage

gl.check.wd(wd = NULL, verbose = NULL)

Arguments

wd

path to the working directory [default NULL; resolves to the dartR_wd option if set with gl.set.wd(), otherwise to tempdir()].

verbose

Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log; 3, progress and results summary; 5, full report [default NULL, adopting the global verbosity set by gl.set.verbosity(), or 2 if no global is set].

Value

the working directory

Author(s)

Author(s): Bernd Gruber. Custodian: Bernd Gruber (Post to https://groups.google.com/d/forum/dartr)

See Also

Other environment: gl.check.verbosity(), gl.print.history(), gl.recalc.metrics(), gl.set.verbosity(), gl.set.wd(), theme_dartR()

Examples

gl.check.wd()


dartR.base documentation built on Nov. 18, 2026, 9:06 a.m.