rdwd (version 1.2.0)

runLocalTests: run local tests of rdwd

Description

Run rdwd tests on local machine. Due to time-intensive data downloads, these tests are not run automatically on CRAN.

Usage

runLocalTests(dir_data = localtestdir(),
  dir_exmpl = localtestdir(folder = "misc/ExampleTests"), fast = FALSE,
  radar = !fast, all_Potsdam_files = !fast, examples = !fast,
  quiet = FALSE)

Arguments

dir_data

Reusable data location. Preferably not under version control. DEFAULT: localtestdir()

dir_exmpl

Reusable example location. DEFAULT: localtestdir(folder="misc/ExampleTests")

fast

Exclude many tests? DEFAULT: FALSE

radar

Test reading radar example files. DEFAULT: !fast

all_Potsdam_files

Read all (ca 60) files for Potsdam? Re-downloads if files are older than 24 hours. Reduce test time a lot by setting this to FALSE. DEFAULT: !fast

examples

Run Examples (including donttest sections) DEFAULT: !fast

quiet

Suppress progress messages? DEFAULT: FALSE

Value

Time taken to run tests in minutes

See Also

localtestdir