Run rdwd
tests on local machine. Due to time-intensive
data downloads, these tests are not run automatically on CRAN.
runLocalTests(
dir_data = locdir(),
dir_exmpl = berryFunctions::packagePath(file = "misc/ExampleTests"),
fast = FALSE,
devcheck = !fast,
radar = !fast,
all_Potsdam_files = !fast,
index = !fast,
indexfast = fast,
examples = !fast,
quiet = rdwdquiet()
)
Time taken to run tests in minutes
Reusable data location. Preferably not under version control.
DEFAULT: locdir()
Reusable example location. DEFAULT: local directory
Exclude many tests? DEFAULT: FALSE
Run devtools::check()
? DEFAULT: !fast
Test reading radar example files. DEFAULT: !fast
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
Run checkIndex()
? DEFAULT: !fast
fast
option passed to checkIndex()
. DEFAULT: !fast
Run Examples (including donttest sections) DEFAULT: !fast
Suppress progress messages? DEFAULT: FALSE through rdwdquiet()
Berry Boessenkool, berry-b@gmx.de, Apr-Oct 2019
locdir()