Running 'runit.R' [3s]
  Running 'testthat.R' [1s]
Running the tests in 'tests/runit.R' failed.
Complete output:
  > #!/usr/bin/Rscript --vanilla
  > is_failure <- function(result) {
  +     res <- RUnit::getErrors(result)
  +     names(res) <- tolower(names(res)) # soothe lintr
  +     sum_of_exceptions <- res[["nerr"]] + res[["nfail"]]
  +     fail <- as.logical(sum_of_exceptions)
  +     return(fail)
  + }
  > 
  > if (interactive()) {
  +     pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     # base's system.file
  +     unit_dir <- system.file("inst", "runit_tests", package = "fritools")
  + } else {
  +     require("fritools", quietly = TRUE, character.only = TRUE) ||
  +         pkgload::load_all(path = ".") # needed to use pkgload's shim version of
  +     r_call <- commandArgs(trailingOnly = FALSE)
  +     if (any(grepl("--file", r_call))) {
  +         unit_dir <- file.path("inst", "runit_tests")
  +     } else {
  +         unit_dir <- system.file("runit_tests", package = "fritools")
  +     }
  + }
  > if (! dir.exists(unit_dir)) {
  +     stop("Can not find RUnit test directory ", unit_dir,
  +          ". Try to (re)install the package first.")
  + }
  > setup_file <- file.path(unit_dir, "setup.R")
  > if (file.exists(setup_file)) source(setup_file)
  > package_suite <- RUnit::defineTestSuite("fritools_unit_test",
  +                                         dirs = unit_dir,
  +                                         testFileRegexp = "^runit.*\\.[rR]",
  +                                         testFuncRegexp = "^test_+")
  > test_result <- RUnit::runTestSuite(package_suite)
  
  
  Executing test function test_is_false  ...  done successfully.
  
  
  
  Executing test function test_is_not_false  ...  done successfully.
  
  
  
  Executing test function test_is_null_or_true  ...  done successfully.
  
  
  
  Executing test function test_call_conditionally  ... Error in (function (x, lib_loc = NULL)  : 
    there is no package called 'not_there'
   done successfully.
  
  
  
  Executing test function test_find_files  ... Error in find_files(file_names = c(files[1:3], not_there), find_all = TRUE) : 
    File D:\temp\RtmpobEBGe\file1986c49e31d82  not found.
  	File D:\temp\RtmpobEBGe\file1986c6f014ff7  not found.
  Error in find_files(file_names = replicate(2, tempfile())) : 
    No matching files found.
  In addition: Warning message:
  In find_files(file_names = replicate(2, tempfile())) :
    File D:\temp\RtmpobEBGe\file1986c12f5453c  not found.
  	File D:\temp\RtmpobEBGe\file1986c55ed393f  not found.
  Error in find_files(path = temp_dir, recursive = FALSE) : 
    No matching files found.
   done successfully.
  
  
  
  Executing test function test_get_package_version  ... Error in get_package_version("no_package") : 
    there is no package called 'no_package'
   done successfully.
  
  
  
  Executing test function test_golden_ratio  ...  done successfully.
  
  
  
  Executing test function test_is_installed  ...  done successfully.
  
  
  
  Executing test function test_is_r_package_installed  ...  done successfully.
  
  
  
  Executing test function test_is_version_sufficient  ...  done successfully.
  
  
  
  Executing test function test_is_windows  ...  done successfully.
  
  
  
  Executing test function test_load_internal_functions  ...  done successfully.
  
  
  
  Executing test function test_default_package_name  ...  done successfully.
  
  
  
  Executing test function test_is_force  ...  done successfully.
  
  
  
  Executing test function test_options  ...  done successfully.
  
  
  
  Executing test function test_search_files  ... Timing stopped at: 0.05 0.02 0.07
  Error in RUnit::checkIdentical(result, expectation) : FALSE 
   
   done successfully.
  
  
  
  Executing test function test_strip  ...  done successfully.
  
  
  
  Executing test function test_index_groups  ...  done successfully.
  
  
  
  Executing test function test_subset_sizes  ... Error in subset_sizes(n = 1, k = 6) : Got n < 2, can't determine subsets.
   done successfully.
  
  
  
  Executing test function test_is_running  ... These functions can't be tested, as the result differs ondifferent machines
  CRANWIN windows
   done successfully.
  
  
  
  Executing test function test_run_r_test  ... Error in get_run_r_tests(stop_on_failure = TRUE) : 
    Environment variable RUN_R_TESTS is not set.
  Error in get_run_r_tests(stop_on_failure = TRUE) : 
    Environment variable RUN_R_TESTS is set to a value not interpretable as boolean.
   done successfully.
  
  
  
  Executing test function test_exception  ... Error in eval(expr, envir = parent.frame()) : Hello, error!
   done successfully.
  
  
  
  Executing test function test_touch  ...  done successfully.
  
  
  
  Executing test function test_wipe_clean  ...  done successfully.
  
  > RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "")
  RUNIT TEST PROTOCOL -- Thu Jan 21 13:32:32 2021 
  *********************************************** 
  Number of test functions: 24 
  Number of errors: 0 
  Number of failures: 1 
  
   
  1 Test Suite : 
  fritools_unit_test - 24 test functions, 0 errors, 1 failure
  FAILURE in test_search_files: Error in RUnit::checkIdentical(result, expectation) : FALSE 
   
  
  
  
  Details 
  *************************** 
  Test Suite: fritools_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^runit.*\.[rR] 
  Involved directory: 
  D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests 
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-boolean.R 
  test_is_false: (1 checks) ... OK (0 seconds)
  test_is_not_false: (3 checks) ... OK (0.03 seconds)
  test_is_null_or_true: (3 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-call.R 
  test_call_conditionally: (4 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-find_files.R 
  test_find_files: (11 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-get_package_version.R 
  test_get_package_version: (2 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-golden_ratio.R 
  test_golden_ratio: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-installed.R 
  test_is_installed: (2 checks) ... OK (0.02 seconds)
  test_is_r_package_installed: (2 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-is_version_sufficient.R 
  test_is_version_sufficient: (3 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-is_windows.R 
  test_is_windows: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-load_internal_functions.R 
  test_load_internal_functions: (1 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-options.R 
  test_default_package_name: (1 checks) ... OK (0 seconds)
  test_is_force: (3 checks) ... OK (0 seconds)
  test_options: (11 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-search_files.R 
  test_search_files: FAILURE !! (check number 1)
  Error in RUnit::checkIdentical(result, expectation) : FALSE 
   
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-strip_off_attributes.R 
  test_strip: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-subsets.R 
  test_index_groups: (1 checks) ... OK (0.02 seconds)
  test_subset_sizes: (5 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-test_helpers.R 
  test_is_running: (2 checks) ... OK (0 seconds)
  test_run_r_test: (15 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-throw.R 
  test_exception: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-touch.R 
  test_touch: (2 checks) ... OK (2.07 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-wipe_clean.R 
  test_wipe_clean: (3 checks) ... OK (0 seconds)
  > if (is_failure(test_result)) {
  +     RUnit::printTextProtocol(test_result, showDetails = TRUE)
  +     stop("RUnit failed.")
  + }
  RUNIT TEST PROTOCOL -- Thu Jan 21 13:32:32 2021 
  *********************************************** 
  Number of test functions: 24 
  Number of errors: 0 
  Number of failures: 1 
  
   
  1 Test Suite : 
  fritools_unit_test - 24 test functions, 0 errors, 1 failure
  FAILURE in test_search_files: Error in RUnit::checkIdentical(result, expectation) : FALSE 
   
  
  
  
  Details 
  *************************** 
  Test Suite: fritools_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^runit.*\.[rR] 
  Involved directory: 
  D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests 
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-boolean.R 
  test_is_false: (1 checks) ... OK (0 seconds)
  test_is_not_false: (3 checks) ... OK (0.03 seconds)
  test_is_null_or_true: (3 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-call.R 
  test_call_conditionally: (4 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-find_files.R 
  test_find_files: (11 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-get_package_version.R 
  test_get_package_version: (2 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-golden_ratio.R 
  test_golden_ratio: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-installed.R 
  test_is_installed: (2 checks) ... OK (0.02 seconds)
  test_is_r_package_installed: (2 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-is_version_sufficient.R 
  test_is_version_sufficient: (3 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-is_windows.R 
  test_is_windows: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-load_internal_functions.R 
  test_load_internal_functions: (1 checks) ... OK (0.02 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-options.R 
  test_default_package_name: (1 checks) ... OK (0 seconds)
  test_is_force: (3 checks) ... OK (0 seconds)
  test_options: (11 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-search_files.R 
  test_search_files: FAILURE !! (check number 1)
  Error in RUnit::checkIdentical(result, expectation) : FALSE 
   
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-strip_off_attributes.R 
  test_strip: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-subsets.R 
  test_index_groups: (1 checks) ... OK (0.02 seconds)
  test_subset_sizes: (5 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-test_helpers.R 
  test_is_running: (2 checks) ... OK (0 seconds)
  test_run_r_test: (15 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-throw.R 
  test_exception: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-touch.R 
  test_touch: (2 checks) ... OK (2.07 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpEpQnnw/RLIBS_26501957e95/fritools/runit_tests/runit-wipe_clean.R 
  test_wipe_clean: (3 checks) ... OK (0 seconds)
  Error: RUnit failed.
  Execution halted