14 lines
610 B
R
Raw Permalink Normal View History

2025-01-12 00:52:51 +08:00
#### Will be sourced by several R scripts in ../tests/
### ------- Part I & -- unrelated to "Matrix" classes ---------------------
### ------- Part II -- related to matrices, but *not* "Matrix" -----------
source(system.file("test-tools-1.R", package = "Matrix"),
keep.source = FALSE)
### ------- Part III -- "Matrix" (classes) specific ----------------------
source(system.file("test-tools-Matrix.R", package = "Matrix"),
keep.source = FALSE)
if(!exists("doExtras", mode="logical")) # << only if not set *before*
doExtras <- interactive() || nzchar(Sys.getenv("R_MATRIX_CHECK_EXTRA"))