/usr/lib/R/library/Matrix/test-tools.R is in r-cran-matrix 1.2-3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #### 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)
doExtras <- interactive() || nzchar(Sys.getenv("R_MATRIX_CHECK_EXTRA")) ||
identical("true", unname(Sys.getenv("R_PKG_CHECKING_doExtras")))
|