R Under development (unstable) (2025-01-16 r87584 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > if (requireNamespace("RUnit", quietly=TRUE) && requireNamespace("gmresls", quietly=TRUE)) { + library(RUnit) + library(gmresls) + + testSuite <- defineTestSuite( + name = "gmresls unit tests", + dirs = system.file("unitTests", package = "gmresls"), + testFuncRegexp = "^[Tt]est.+", + rngKind = RNGkind()[1L] + ) + Sys.setenv("R_TESTS"="") + tests <- runTestSuite(testSuite) + + printTextProtocol(tests) + + if (getErrors(tests)$nFail > 0) stop("RUnit test failure") + if (getErrors(tests)$nErr > 0) stop("Errors in RUnit tests") + } Executing test function test.doc ... done successfully. Executing test function test.x0 ... done successfully. RUNIT TEST PROTOCOL -- Fri Jan 17 16:18:24 2025 *********************************************** Number of test functions: 2 Number of errors: 0 Number of failures: 0 1 Test Suite : gmresls unit tests - 2 test functions, 0 errors, 0 failures Details *************************** Test Suite: gmresls unit tests Test function regexp: ^[Tt]est.+ Test file regexp: ^runit.+\.[rR]$ Involved directory: D:/RCompile/CRANincoming/R-devel/lib/gmresls/unitTests --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/gmresls/unitTests/runit.gmresls.R test.doc: (1 checks) ... OK (0 seconds) test.x0: (1 checks) ... OK (0 seconds) > > proc.time() user system elapsed 0.20 0.10 0.29