R Under development (unstable) (2025-05-15 r88204 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. > Sys.unsetenv("R_TESTS") > if (requireNamespace("RUnit", quietly=TRUE) && requireNamespace("nlsic", quietly=TRUE)) { + library(RUnit) + #library(nlsic) + testSuite <- RUnit::defineTestSuite( + name = "nlsic unit tests", + dirs = system.file("unitTests", package = "nlsic"), + testFuncRegexp = "^[Tt]est.+", + rngKind = "default", + rngNormalKind = "default" + ) + tests <- RUnit::runTestSuite(testSuite) + + RUnit::printTextProtocol(tests) + + if (RUnit::getErrors(tests)$nFail > 0) stop("RUnit test failure") + if (RUnit::getErrors(tests)$nErr > 0) stop("Errors in RUnit tests") + } Executing test function test.Nulla ... done successfully. Executing test function test.join ... done successfully. Executing test function test.ldp ... done successfully. Executing test function test.ls_ln ... done successfully. Executing test function test.ls_ln_svd ... done successfully. Executing test function test.lsi ... done successfully. Executing test function test.lsi_ln ... done successfully. Executing test function test.lsie_ln ... done successfully. Executing test function test.nlsic ... done successfully. RUNIT TEST PROTOCOL -- Fri May 16 17:06:05 2025 *********************************************** Number of test functions: 9 Number of errors: 0 Number of failures: 0 1 Test Suite : nlsic unit tests - 9 test functions, 0 errors, 0 failures Details *************************** Test Suite: nlsic unit tests Test function regexp: ^[Tt]est.+ Test file regexp: ^runit.+\.[rR]$ Involved directory: D:/RCompile/CRANincoming/R-devel/lib/nlsic/unitTests --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/nlsic/unitTests/runit.nlsic.R test.Nulla: (1 checks) ... OK (0 seconds) test.join: (1 checks) ... OK (0 seconds) test.ldp: (3 checks) ... OK (0 seconds) test.ls_ln: (1 checks) ... OK (0 seconds) test.ls_ln_svd: (2 checks) ... OK (0 seconds) test.lsi: (3 checks) ... OK (0 seconds) test.lsi_ln: (11 checks) ... OK (0.01 seconds) test.lsie_ln: (10 checks) ... OK (0.02 seconds) test.nlsic: (1 checks) ... OK (0 seconds) > > proc.time() user system elapsed 0.23 0.09 0.31