R Under development (unstable) (2024-01-07 r85787 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. > pkg = "timeDF" > > # If RUnit and datasailr exist on this system, load and attach them. Then, run test. > if(requireNamespace("RUnit", quietly = TRUE) && + requireNamespace("timeDF", quietly = TRUE )){ + + # Test suit definition & Run tests. + testSuite <- RUnit::defineTestSuite( name = paste0( pkg, " Unit Tests") , + dir = system.file("unit_tests", package = pkg ), + testFileRegexp = "^test_.+\\.[rR]$", + testFuncRegexp = "^test_.+") + Sys.setenv("R_TESTS"="") + tests <- RUnit::runTestSuite(testSuite) + RUnit::printTextProtocol(tests) + } Executing test function test_adjust_periodDF ... done successfully. Executing test function test_codense_periodDF ... done successfully. Executing test function test_convert_periodDF ... done successfully. Executing test function test_extract_with_periodDF ... done successfully. Executing test function test_flag_with_periodDF ... done successfully. Executing test function test_periodDF ... done successfully. Executing test function test_sort_periodDF ... done successfully. Executing test function test_timeDF ... done successfully. RUNIT TEST PROTOCOL -- Mon Jan 8 15:01:37 2024 *********************************************** Number of test functions: 8 Number of errors: 0 Number of failures: 0 1 Test Suite : timeDF Unit Tests - 8 test functions, 0 errors, 0 failures Details *************************** Test Suite: timeDF Unit Tests Test function regexp: ^test_.+ Test file regexp: ^test_.+\.[rR]$ Involved directory: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_adjust_periodDF.R test_adjust_periodDF: (8 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_condense_periodDF.R test_codense_periodDF: (12 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_convert_periodDF.R test_convert_periodDF: (23 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_extract_with_periodDF.R test_extract_with_periodDF: (19 checks) ... OK (0.01 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_flag_with_periodDF.R test_flag_with_periodDF: (14 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_periodDF.R test_periodDF: (51 checks) ... OK (0.01 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_sort_periodDF.R test_sort_periodDF: (9 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_timeDF.R test_timeDF: (5 checks) ... OK (0 seconds) There were 16 warnings (use warnings() to see them) > > proc.time() user system elapsed 0.26 0.04 0.29