Running ‘runit.R’ [3s/11s]
  Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/runit.R’ failed.
Complete output:
  > #!/usr/bin/Rscript --vanilla
  > if(identical(.Platform[["OS.type"]], "unix") && 
  +    !(identical(Sys.info()[["sysname"]], "Linux"))) {
  +     message("Skipping test. Target is MacOS X, but I'm not sure how to test for that.")
  + } else {
  + 
  + 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 = "fakemake")
  + } else {
  +     require("fakemake", 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 = "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)
  + RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "")
  + if (is_failure(test_result)) {
  +     RUnit::printTextProtocol(test_result, showDetails = TRUE)
  +     stop("RUnit failed.")
  + }
  + }
  
  
  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/testthat.Rout (item number 2  in list "ml1" ) are no valid names.
  In addition: Warning message:
  'package_makelist' is deprecated.
  Use 'packager::get_package_makelist' instead.
  See help("Deprecated") 
  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  ... Error in adjacent_vertices(x, i, mode = if (directed) "out" else "all") : 
    At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex id
  Error in adjacent_vertices(x, i, mode = if (directed) "out" else "all") : 
    At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex id
   done successfully.
  
  
  
  Executing test function test_makelist_manipulation  ...  done successfully.
  
  
  
  Executing test function test_check_archive  ... ✔ Creating '/home/hornik/tmp/scratch/Rtmp35gn9F/fakepack/'
  ✔ Setting active project to '/home/hornik/tmp/scratch/Rtmp35gn9F/fakepack'
  ✔ Creating 'R/'
  ✔ Writing 'DESCRIPTION'
  Package: fakepack
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  LazyData: true
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.1.0
  ✔ Writing 'NAMESPACE'
  ✔ Setting active project to '<no active project>'
  Loading fakepack
  Writing NAMESPACE
  Writing throw.Rd
  Timing stopped at: 1.869 0.044 3.3
  Error in bquote(on.exit({ : 'where' must be an environment
  In addition: Warning messages:
  1: 'package_makelist' is deprecated.
  Use 'packager::get_package_makelist' instead.
  See help("Deprecated") 
  2: 'package_makelist' is deprecated.
  Use 'packager::get_package_makelist' instead.
  See help("Deprecated") 
  3: 'get_pkg_archive_path' is deprecated.
  Use 'packager::get_pkg_archive_path' instead.
  See help("Deprecated") 
   done successfully.
  
  
  
  Executing test function test_package_path  ... ✔ Creating '/home/hornik/tmp/scratch/Rtmp35gn9F/anRpackage/'
  ✔ Setting active project to '/home/hornik/tmp/scratch/Rtmp35gn9F/anRpackage'
  ✔ Creating 'R/'
  ✔ Writing 'DESCRIPTION'
  Package: anRpackage
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  LazyData: true
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.1.0
  ✔ Writing 'NAMESPACE'
  ✔ Setting active project to '<no active project>'
   done successfully.
  
  
  
  Executing test function test_touch  ...  done successfully.
  
  
  
  Executing test function test_exception  ... Error in eval(expr, envir = parent.frame()) : Hello, error
  In addition: Warning message:
  'get_pkg_archive_path' is deprecated.
  Use 'packager::get_pkg_archive_path' instead.
  See help("Deprecated") 
   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 /home/hornik/tmp/scratch/Rtmp35gn9F/c1.Rout.
   done successfully.
  
  
  
  Executing test function test_make_sink  ...  done successfully.
  
  
  
  Executing test function test_make_source_files  ...  done successfully.
  
  RUNIT TEST PROTOCOL -- Sun May 10 20:54:36 2020 
  *********************************************** 
  Number of test functions: 17 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  fakemake_unit_test - 17 test functions, 1 error, 0 failures
  ERROR in test_check_archive: Error in bquote(on.exit({ : 'where' must be an environment
  
  
  
  Details 
  *************************** 
  Test Suite: fakemake_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^.*\.[rR] 
  Involved directory: 
  /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-check_makelist.R 
  test_check_makelist: (4 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-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.06 seconds)
  test_write_makefile: (1 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-makelist2igraph.R 
  test_provide_makefile: (4 checks) ... OK (0.13 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-makelists.R 
  test_makelist_manipulation: (1 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-misc.R 
  test_check_archive: ERROR !! 
  Error in bquote(on.exit({ : 'where' must be an environment
  test_package_path: (1 checks) ... OK (0.1 seconds)
  test_touch: (1 checks) ... OK (2 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-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-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-xmake.R 
  test_make_full_tree: (4 checks) ... OK (0.07 seconds)
  test_make_missing: (2 checks) ... OK (0.03 seconds)
  test_make_newer: (2 checks) ... OK (1.04 seconds)
  test_make_phony: (3 checks) ... OK (2.04 seconds)
  test_make_prerequisite: (3 checks) ... OK (1.04 seconds)
  test_make_sink: (2 checks) ... OK (0.03 seconds)
  test_make_source_files: (0 checks) ... OK (0 seconds)
  RUNIT TEST PROTOCOL -- Sun May 10 20:54:36 2020 
  *********************************************** 
  Number of test functions: 17 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  fakemake_unit_test - 17 test functions, 1 error, 0 failures
  ERROR in test_check_archive: Error in bquote(on.exit({ : 'where' must be an environment
  
  
  
  Details 
  *************************** 
  Test Suite: fakemake_unit_test 
  Test function regexp: ^test_+ 
  Test file regexp: ^.*\.[rR] 
  Involved directory: 
  /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-check_makelist.R 
  test_check_makelist: (4 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-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.06 seconds)
  test_write_makefile: (1 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-makelist2igraph.R 
  test_provide_makefile: (4 checks) ... OK (0.13 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-makelists.R 
  test_makelist_manipulation: (1 checks) ... OK (0.01 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-misc.R 
  test_check_archive: ERROR !! 
  Error in bquote(on.exit({ : 'where' must be an environment
  test_package_path: (1 checks) ... OK (0.1 seconds)
  test_touch: (1 checks) ... OK (2 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-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-devel-gcc/Work/build/Packages/fakemake/runit_tests/runit-xmake.R 
  test_make_full_tree: (4 checks) ... OK (0.07 seconds)
  test_make_missing: (2 checks) ... OK (0.03 seconds)
  test_make_newer: (2 checks) ... OK (1.04 seconds)
  test_make_phony: (3 checks) ... OK (2.04 seconds)
  test_make_prerequisite: (3 checks) ... OK (1.04 seconds)
  test_make_sink: (2 checks) ... OK (0.03 seconds)
  test_make_source_files: (0 checks) ... OK (0 seconds)
  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