Learn R Programming

rdwd (version 1.1.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 reduce the number of downloads by saving the downloaded DWD data in this directory. My local test script is at https://github.com/brry/rdwd/blob/master/localtests/localtests.R. It runs all the examples, even the dontrun sections.

Usage

localtestdir(packdir = ".",
  folder = "localtests/CreateVignettes/DWDdata", file = NULL)

Arguments

packdir

Path to package directory. DEFAULT: "."

folder

Path inside package. DEFAULT: "localtests/CreateVignettes/DWDdata"

file

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

Value

charstring (directory)

Examples

Run this code
# NOT RUN {
localtestdir()

# }

Run the code above in your browser using DataLab