R Under development (unstable) (2024-04-27 r86487 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_listTimeDF_to_timeDF ... done successfully. Executing test function test_periodDF ... done successfully. Executing test function test_period_type ... done successfully. Executing test function test_select_timeDF ... done successfully. Executing test function test_sort_periodDF ... done successfully. Executing test function test_sort_timeDF ... done successfully. Executing test function test_split_timeDF_by_intervals ... 5 done successfully. Executing test function test_timeDF ... done successfully. Executing test function test_validate_listTimeDF ... done successfully. Executing test function test_validate_sorted_timeDF ... done successfully. Executing test function test_validate_timeDF ... done successfully. RUNIT TEST PROTOCOL -- Sun Apr 28 16:01:00 2024 *********************************************** Number of test functions: 16 Number of errors: 0 Number of failures: 0 1 Test Suite : timeDF Unit Tests - 16 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.01 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.02 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.01 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_listTimeDF_to_timeDF.R test_listTimeDF_to_timeDF: (1 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 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_period_type.R test_period_type: (3 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_select_timeDF.R test_select_timeDF: (1 checks) ... OK (0 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_sort_timeDF.R test_sort_timeDF: (2 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_split_timeDF_by_intervals.R test_split_timeDF_by_intervals: (6 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) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_validate_listTimeDF.R test_validate_listTimeDF: (1 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_validate_sorted_timeDF.R test_validate_sorted_timeDF: (2 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/timeDF/unit_tests/test_validate_timeDF.R test_validate_timeDF: (2 checks) ... OK (0 seconds) There were 32 warnings (use warnings() to see them) > > proc.time() user system elapsed 0.32 0.06 0.37