rdwd (version 1.2.0)

localtestdir: local test data directory

Description

returns a directory used for local tests on Berry's computers. This is used in many examples to save the downloaded DWD data in this directory, thus avoiding multiple downloads of the same file.

Usage

localtestdir(packdir = ".", folder = "misc/localdata", file = NULL)

Arguments

packdir

Path to package directory. DEFAULT: "."

folder

Path inside package. DEFAULT: "misc/localdata"

file

Optional: path(s) at folder. DEFAULT: NULL

Value

charstring (directory)

See Also

runLocalTests

Examples

Run this code
# NOT RUN {
localtestdir()

# }

Run the code above in your browser using DataCamp Workspace