Running ‘runit.R’ [0s/6s]
  Running ‘testthat.R’ [0s/0s]
Running the tests in ‘tests/runit.R’ failed.
Complete output:
  > #!/usr/bin/Rscript --vanilla
  > is_wrong_os <- .Platform[["OS.type"]] == "windows" || grepl("^darwin",
  +                                                             R.version$os)
  > is_current_version <- compareVersion(paste(getRversion(), sep = "."),
  +                                      "3.4.0") >= 1
  > if (is_current_version && ! is_wrong_os) {
  +     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()) {
  +         devtools::load_all(pkg = ".") # needed to use devtools' shim version of
  +         # base's system.file
  +         unit_dir <- system.file("inst", "runit_tests", package = "fakemake")
  +     } else {
  +         r_call <- commandArgs(trailingOnly = FALSE)
  +         require("fakemake", quietly = TRUE, character.only = TRUE) ||
  +             stop("package '", pkgname, "' not found")
  +         if (any(grepl("--file", r_call))) {
  +             unit_dir <- file.path("inst", "runit_tests")
  +         } else {
  +             unit_dir <- system.file("runit_tests", package = "fakemake")
  +         }
  +     }
  +     if (! dir.exists(unit_dir)) {
  +         stop("Can not find RUnit test directory ", unit_dir,
  +              ". Try to (re)install the package first.")
  +     }
  +     package_suite <- RUnit::defineTestSuite("fakemake_unit_test",
  +                                             dirs = unit_dir,
  +                                             testFileRegexp = "^.*\\.[rR]",
  +                                             testFuncRegexp = "^test_+")
  +     test_result <- RUnit::runTestSuite(package_suite)
  + 
  +     root <- tryCatch(rprojroot::find_root(rprojroot::is_r_package),
  +                      error = function(e) return(NULL))
  +     if (! is.null(root)) {
  +         log_dir <- file.path(root, "log")
  +         dir.create(log_dir, showWarnings = FALSE)
  +         file_name <- file.path(log_dir, "runit.log")
  +         html_file <- file.path(log_dir, "runit.html")
  +         RUnit::printHTMLProtocol(test_result, fileName = html_file)
  +         if (interactive()) {
  +             browseURL(paste0("file:", html_file))
  +         }
  +     } else {
  +         file_name <- ""
  +     }
  +     RUnit::printTextProtocol(test_result, showDetails = TRUE,
  +                              fileName = file_name)
  + 
  +     if (is_failure(test_result)) stop("RUnit failed. ", print(test_result))
  + }
  
  
  Executing test function test_check_makelist  ... Error in fakemake:::check_makelist(3) : 3 is not a list.
  Error in fakemake:::check_makelist(ml1) : 
  "foo", "bar" for make target log/spell.Rout (item number 2  in list "ml1" ) are no valid names.
  Error in fakemake:::check_makelist(ml1) : 
    Items 1, 3 of list "ml1" have no target entries.
   done successfully.
  
  
  
  Executing test function test_provide_makefile  ...  done successfully.
  
  
  
  Executing test function test_read_makefile  ...  done successfully.
  
  
  
  Executing test function test_write_makefile  ...  done successfully.
  
  
  
  Executing test function test_provide_makefile  ... Timing stopped at: 0.028 0 0.028
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so: failed to map segment from shared object
   done successfully.
  
  
  
  Executing test function test_check_archive  ... Timing stopped at: 0.001 0.005 0.007
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
   done successfully.
  
  
  
  Executing test function test_package_path  ... Timing stopped at: 0.005 0.001 0.006
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
   done successfully.
  
  
  
  Executing test function test_touch  ...  done successfully.
  
  
  
  Executing test function test_exception  ... Error in eval(expr, envir = parent.frame()) : Hello, error
   done successfully.
  
  
  
  Executing test function test_make_full_tree  ...  done successfully.
  
  
  
  Executing test function test_make_missing  ...  done successfully.
  
  
  
  Executing test function test_make_newer  ...  done successfully.
  
  
  
  Executing test function test_make_phony  ...  done successfully.
  
  
  
  Executing test function test_make_prerequisite  ... Error in make(name = p, make_list = make_list, force = force && isTRUE(recursive),  : 
    There is no rule to make /tmp/Rtmp1DnQrC/c1.Rout.
  Prerequisite /tmp/Rtmp1DnQrC/c1.Rout found.
   done successfully.
  
  
  
  Executing test function test_make_sink  ...  done successfully.
  
  
  
  Executing test function test_make_source_files  ...  done successfully.
  
  RUNIT TEST PROTOCOL -- Mon Dec 17 06:10:26 2018 
  *********************************************** 
  Number of test functions: 16 
  Number of errors: 3 
  Number of failures: 0 
  
   
  1 Test Suite : 
  fakemake_unit_test - 16 test functions, 3 errors, 0 failures
  ERROR in test_provide_makefile: Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so: failed to map segment from shared object
  ERROR in test_check_archive: Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
  ERROR in test_package_path: Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
  
  
  
  Details 
  *************************** 
  Test Suite: fakemake_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^.*\.[rR] 
  Involved directory: 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-check_makelist.R 
  test_check_makelist: (4 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-makefile.R 
  test_provide_makefile: (1 checks) ... OK (0 seconds)
  test_read_makefile: (2 checks) ... OK (0.02 seconds)
  test_write_makefile: (1 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-makelist2igraph.R 
  test_provide_makefile: ERROR !! 
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/igraph/libs/igraph.so: failed to map segment from shared object
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-misc.R 
  test_check_archive: ERROR !! 
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
  test_package_path: ERROR !! 
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
  test_touch: (1 checks) ... OK (2 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-throw.R 
  test_exception: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/fakemake/runit_tests/runit-xmake.R 
  test_make_full_tree: (4 checks) ... OK (0.02 seconds)
  test_make_missing: (2 checks) ... OK (0.02 seconds)
  test_make_newer: (2 checks) ... OK (1.01 seconds)
  test_make_phony: (3 checks) ... OK (2.02 seconds)
  test_make_prerequisite: (3 checks) ... OK (1.03 seconds)
  test_make_sink: (2 checks) ... OK (0.01 seconds)
  test_make_source_files: (0 checks) ... OK (0 seconds)
  Number of test functions: 16 
  Number of errors: 3 
  Number of failures: 0 
  Error: RUnit failed. 
  In addition: Warning message:
  In func() :
    FIXME: The remaining code is in dontshow() in the examples section of make()! I haven't understood yet why is does not work in formal testing.
  Execution halted
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  Error: package or namespace load failed for 'testthat' in dyn.load(file, DLLpath = DLLpath, ...):
   unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rlang/libs/rlang.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rlang/libs/rlang.so: failed to map segment from shared object
  Execution halted