R Under development (unstable) (2024-10-16 r87241 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. RUNIT TEST PROTOCOL -- Thu Oct 17 10:55:42 2024 *********************************************** Number of test functions: 1 Number of errors: 0 Number of failures: 0 1 Test Suite : gmresls unit tests - 1 test function, 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) > > proc.time() user system elapsed 0.23 0.07 0.29