Running ‘testthat.R’ [94s/104s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(orderly)
  > 
  > test_check("orderly")
  Saving _problems/test-location-502.R
  Saving _problems/test-location-637.R
  Saving _problems/test-location-1012.R
  Saving _problems/test-location-1061.R
  Saving _problems/test-location-1127.R
  Saving _problems/test-location-1154.R
  Saving _problems/test-location-1174.R
  Saving _problems/test-location-1229.R
  Saving _problems/test-migration-4.R
  Saving _problems/test-migration-17.R
  Saving _problems/test-migration-26.R
  Saving _problems/test-migration-34.R
  Saving _problems/test-migration-43.R
  Saving _problems/test-migration-314.R
  Saving _problems/test-outpack-packet-688.R
  Saving _problems/test-outpack-tools-223.R
  Saving _problems/test-query-search-213.R
  Saving _problems/test-query-search-341.R
  Saving _problems/test-run-separate-37.R
  Saving _problems/test-run-39.R
  Saving _problems/test-run-213.R
  Saving _problems/test-run-277.R
  Saving _problems/test-run-933.R
  Saving _problems/test-run-1183.R
  Saving _problems/test-validate-25.R
  [ FAIL 27 | WARN 18 | SKIP 17 | PASS 2094 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (17): 'test-compare.R:1:1', 'test-compare.R:11:1',
    'test-compare.R:27:1', 'test-compare.R:43:1', 'test-compare.R:60:1',
    'test-compare.R:80:1', 'test-compare.R:107:1', 'test-compare.R:130:1',
    'test-compare.R:153:1', 'test-outpack-packet.R:858:3',
    'test-outpack-store.R:80:3', 'test-read.R:153:3', 'test-read.R:165:3',
    'test-util.R:304:3', 'test-util.R:488:3', 'test-zzz-location-http.R:6:3',
    'test-zzz-location-http.R:80:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-location.R:462:3'): detect and avoid modified files in source repository ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed5f0adbe0/archive/data': no space left on device
  Backtrace:
       ▆
    1. ├─testthat::evaluate_promise(orderly_location_pull(id[[1]], root = root$dst)) at test-location.R:462:3
    2. │ ├─withr::with_output_sink(...)
    3. │ │ └─base::force(code)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::withVisible(code)
    6. └─orderly::orderly_location_pull(id[[1]], root = root$dst)
    7.   └─orderly:::location_pull_files_archive(id, store$value, root)
    8.     └─store$get(meta$files$hash[[i]], dest[[i]], overwrite = TRUE)
    9.       └─orderly:::copy_files(src, dst, overwrite = overwrite)
   10.         └─fs::dir_create(unique(dirname(dst)))
  ── Error ('test-location.R:502:3'): Sensible error if packet not known ─────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed507cbb2e/archive/data/20260607-133820-50d263e6': no space left on device
  Backtrace:
      ▆
   1. └─orderly:::create_random_packet(root$src) at test-location.R:502:3
   2.   └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
   3.     ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
   4.     │ └─base::withCallingHandlers(...)
   5.     └─orderly:::outpack_packet_end(...)
   6.       └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   7.         └─orderly:::file_import_archive(...)
   8.           └─orderly:::copy_files(...)
   9.             └─fs::dir_create(unique(dirname(dst)))
  ── Error ('test-location.R:637:27'): Can filter locations ──────────────────────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
      ▆
   1. └─orderly:::vcapply(1:3, function(i) create_random_packet(root$b$path)) at test-location.R:636:3
   2.   └─base::vapply(X, FUN, character(1), ...)
   3.     └─orderly (local) FUN(X[[i]], ...)
   4.       └─orderly:::create_random_packet(root$b$path) at test-location.R:637:27
   5.         └─base::saveRDS(runif(10), file.path(src, file_name)) at ./helper-outpack.R:7:5
   6.           └─base::gzfile(file, mode)
  ── Error ('test-location.R:1012:3'): handle metadata where two locations differ in hash for same id ──
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
       ▆
    1. └─orderly:::create_random_packet(root$b, id = id) at test-location.R:1012:3
    2.   └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
    3.     ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
    4.     │ └─base::withCallingHandlers(...)
    5.     └─orderly:::outpack_packet_end(...)
    6.       └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
    7.         └─root$index$location(local)
    8.           └─self$refresh()
    9.             └─orderly:::index_update(private$path_, private$data_, FALSE, progress)
   10.               └─orderly:::saverds_atomic(data, path_index, allow_fail = TRUE)
   11.                 └─base::saveRDS(data, tmp)
   12.                   └─base::gzfile(file, mode)
  ── Error ('test-location.R:1061:3'): skip files in the file store ──────────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed49719bb3/.outpack/files/sha256/8c': no space left on device
  Backtrace:
      ▆
   1. └─orderly:::create_random_packet_chain(root$src, 3) at test-location.R:1061:3
   2.   ├─base::suppressMessages(...) at ./helper-outpack.R:42:3
   3.   │ └─base::withCallingHandlers(...)
   4.   └─orderly:::outpack_packet_end(packet) at ./helper-outpack.R:60:7
   5.     └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   6.       └─orderly:::file_import_store(root, path, meta$files$path, meta$files$hash)
   7.         └─root$files$put(fp, file_hash[[i]])
   8.           └─fs::dir_create(dirname(dst))
  ── Error ('test-location.R:1082:3'): skip files known elsewhere on disk ────────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
       ▆
    1. └─orderly:::create_random_packet_chain(root$src, 3) at test-location.R:1082:3
    2.   ├─base::suppressMessages(...) at ./helper-outpack.R:42:3
    3.   │ └─base::withCallingHandlers(...)
    4.   └─orderly:::outpack_packet_run(packet, "script.R") at ./helper-outpack.R:58:9
    5.     ├─withr::with_dir(...) at ./helper-outpack.R:171:3
    6.     │ └─base::force(code)
    7.     └─orderly:::source_echo(script, envir = envir, echo = FALSE)
    8.       └─base::source(...)
    9.         ├─base::withVisible(eval(ei, envir))
   10.         └─base::eval(ei, envir)
   11.           └─base::eval(ei, envir)
   12.             └─base::saveRDS(readRDS("input.rds") * 2, "data.rds") at script.R:1:1
   13.               └─base::gzfile(file, mode)
  ── Error ('test-location.R:1127:3'): don't prune referenced orphans ────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─orderly:::create_random_packet_chain(root, 3) at test-location.R:1127:3
   2.   ├─base::suppressMessages(...) at ./helper-outpack.R:42:3
   3.   │ └─base::withCallingHandlers(...)
   4.   └─orderly:::outpack_packet_end(packet) at ./helper-outpack.R:60:7
   5.     └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   6.       └─base::writeLines(json, path_meta, sep = "")
   7.         └─base::file(con, "w")
  ── Error ('test-location.R:1154:3'): early exit if no orphans ──────────────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed3e55317a/archive/c/20260607-133826-634b453a': no space left on device
  Backtrace:
      ▆
   1. └─orderly:::create_random_packet_chain(root, 3) at test-location.R:1154:3
   2.   ├─base::suppressMessages(...) at ./helper-outpack.R:42:3
   3.   │ └─base::withCallingHandlers(...)
   4.   └─orderly:::outpack_packet_end(packet) at ./helper-outpack.R:60:7
   5.     └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   6.       └─orderly:::file_import_archive(...)
   7.         └─orderly:::copy_files(...)
   8.           └─fs::dir_create(unique(dirname(dst)))
  ── Error ('test-location.R:1174:3'): be chatty when pulling packets ────────────
  Error in `file(file, if (append) "a" else "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::evaluate_promise(orderly_location_fetch_metadata(root = here)) at test-location.R:1174:3
   2.   └─withr::with_output_sink(...)
   3.     └─withr:::set_output_sink(file = new, append = append, split = split)
   4.       └─withr:::output_sink(file = file, append = append, split = split)
   5.         └─base::sink(file = file, append = append, type = "output", split = split)
   6.           └─base::file(file, if (append) "a" else "w")
  ── Error ('test-location.R:1229:5'): print list of pulled packets ──────────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed67f9f235/.outpack/index': no space left on device
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-location.R:1227:3
   2. │ └─base::withCallingHandlers(...)
   3. └─orderly::orderly_location_fetch_metadata(root = root$dst) at test-location.R:1229:5
   4.   └─orderly:::location_fetch_metadata(name, root)
   5.     └─root$index$data()
   6.       └─self$refresh()
   7.         └─orderly:::index_update(private$path_, private$data_, FALSE, progress)
   8.           └─fs::dir_create(dirname(path_index))
  ── Error ('test-migration.R:4:3'): Do nothing while migrating up-to-date sources ──
  <GIT_ERROR/libgit2_error/error/condition>
  Error in `libgit2::git_index_add_all`: failed to create temporary file '/tmp/RtmpioO9fE/orderly_ex_599ed2b4d3c3b/.git/objects/tmp_object_git2_8eaa92fe0f06bb46': No space left on device
  Backtrace:
      ▆
   1. ├─orderly:::helper_add_git(path) at test-migration.R:4:3
   2. │ └─gert::git_add(".", repo = path) at ./helper-outpack.R:141:3
   3. └─gert:::raise_libgit2_error(...)
  ── Error ('test-migration.R:17:3'): Do nothing while trying unneeded migrations ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/orderly_ex_599ed37dc5f2c/.outpack': no space left on device
  Backtrace:
      ▆
   1. ├─base::suppressMessages(orderly_example()) at test-migration.R:17:3
   2. │ └─base::withCallingHandlers(...)
   3. └─orderly::orderly_example()
   4.   └─orderly::orderly_init(..., root = dest)
   5.     └─fs::dir_create(path_outpack)
  ── Error ('test-migration.R:26:3'): refuse to migrate sources that are not under version control ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/orderly_ex_599ed7cc026f8/.outpack/location': no space left on device
  Backtrace:
      ▆
   1. ├─base::suppressMessages(orderly_example()) at test-migration.R:26:3
   2. │ └─base::withCallingHandlers(...)
   3. └─orderly::orderly_example()
   4.   └─orderly::orderly_init(..., root = dest)
   5.     └─fs::dir_create(file.path(path_outpack, "location"))
  ── Error ('test-migration.R:34:3'): warn on dry run without version control ────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/orderly_ex_599ed7320925a/.outpack/metadata': no space left on device
  Backtrace:
      ▆
   1. ├─base::suppressMessages(orderly_example()) at test-migration.R:34:3
   2. │ └─base::withCallingHandlers(...)
   3. └─orderly::orderly_example()
   4.   └─orderly::orderly_init(..., root = dest)
   5.     └─fs::dir_create(file.path(path_outpack, "metadata"))
  ── Error ('test-migration.R:43:3'): refuse to migrate unclean repo ─────────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/orderly_ex_599ed6d16c852/.outpack/location': no space left on device
  Backtrace:
      ▆
   1. ├─base::suppressMessages(orderly_example()) at test-migration.R:43:3
   2. │ └─base::withCallingHandlers(...)
   3. └─orderly::orderly_example()
   4.   └─orderly::orderly_init(..., root = dest)
   5.     └─fs::dir_create(file.path(path_outpack, "location"))
  ── Error ('test-migration.R:314:3'): can't migrate complex old configuration ───
  <GIT_ERROR/libgit2_error/error/condition>
  Error in `libgit2::git_index_add_all`: failed to make directory '/tmp/RtmpioO9fE/orderly_ex_599ed26f3a792/.git/objects/26': No space left on device
  Backtrace:
      ▆
   1. ├─orderly:::helper_add_git(path) at test-migration.R:314:3
   2. │ └─gert::git_add(".", repo = path) at ./helper-outpack.R:141:3
   3. └─gert:::raise_libgit2_error(...)
  ── Error ('test-outpack-packet.R:688:3'): can pull in dependency from specific location ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─orderly::orderly_location_fetch_metadata(root = root$a) at test-outpack-packet.R:688:3
   2.   └─orderly:::location_fetch_metadata(name, root)
   3.     └─orderly:::mark_packet_known(...)
   4.       └─base::writeLines(to_json(dat, "outpack/location.json"), dest)
   5.         └─base::file(con, "w")
  ── Error ('test-outpack-tools.R:223:5'): can pass a vector of ids through ──────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
       ▆
    1. └─orderly:::vcapply(...) at test-outpack-tools.R:222:3
    2.   └─base::vapply(X, FUN, character(1), ...)
    3.     └─orderly (local) FUN(X[[i]], ...)
    4.       └─orderly:::create_random_packet(root, parameters = list(i = i)) at test-outpack-tools.R:223:5
    5.         └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
    6.           ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
    7.           │ └─base::withCallingHandlers(...)
    8.           └─orderly:::outpack_packet_end(...)
    9.             └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   10.               └─root$index$location(local)
   11.                 └─self$refresh()
   12.                   └─orderly:::index_update(private$path_, private$data_, FALSE, progress)
   13.                     └─orderly:::saverds_atomic(data, path_index, allow_fail = TRUE)
   14.                       └─base::saveRDS(data, tmp)
   15.                         └─base::gzfile(file, mode)
  ── Error ('test-query-search.R:213:7'): Can filter query to packets that are locally available (unpacked) ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. └─orderly:::vcapply(...) at test-query-search.R:212:5
    2.   └─base::vapply(X, FUN, character(1), ...)
    3.     └─orderly (local) FUN(X[[i]], ...)
    4.       └─orderly:::create_random_packet(root[[name]], "data", list(p = i)) at test-query-search.R:213:7
    5.         └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
    6.           ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
    7.           │ └─base::withCallingHandlers(...)
    8.           └─orderly:::outpack_packet_end(...)
    9.             └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   10.               └─base::writeLines(json, path_meta, sep = "")
   11.                 └─base::file(con, "w")
  ── Error ('test-query-search.R:341:3'): orderly_search can include subqueries ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─orderly:::create_random_packet(root, "x", list(a = 2)) at test-query-search.R:341:3
   2.   └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
   3.     ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
   4.     │ └─base::withCallingHandlers(...)
   5.     └─orderly:::outpack_packet_end(...)
   6.       └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   7.         └─orderly:::mark_packet_known(id, local, hash, time, root)
   8.           └─base::writeLines(to_json(dat, "outpack/location.json"), dest)
   9.             └─base::file(con, "w")
  ── Error ('test-run-separate.R:34:3'): can use dependencies in separate directory ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed24d0e5b8/src/draft/data/20260607-133911-a9dd92d4': no space left on device
  Backtrace:
      ▆
   1. ├─withr::with_envvar(...) at test-run-separate.R:34:3
   2. │ └─base::force(code)
   3. └─orderly:::orderly_run_quietly("data", envir = new.env(), root = info$outpack)
   4.   ├─base::suppressMessages(orderly_run(..., echo = echo)) at ./helper-orderly.R:119:3
   5.   │ └─base::withCallingHandlers(...)
   6.   └─orderly::orderly_run(..., echo = echo)
   7.     └─fs::dir_create(path)
  ── Error ('test-run.R:39:3'): can run simple task with implicit inputs and outputs ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to copy '/tmp/RtmpioO9fE/file599ed277cc592/draft/implicit/20260607-133912-48d3b31e/mygraph.png' to '/tmp/RtmpioO9fE/file599ed277cc592/archive/implicit/20260607-133912-48d3b31e/mygraph.png': no space left on device
  Backtrace:
       ▆
    1. └─orderly:::orderly_run_quietly("implicit", root = path, envir = envir) at test-run.R:39:3
    2.   ├─base::suppressMessages(orderly_run(..., echo = echo)) at ./helper-orderly.R:119:3
    3.   │ └─base::withCallingHandlers(...)
    4.   └─orderly::orderly_run(..., echo = echo)
    5.     └─orderly:::orderly_packet_cleanup_success(p, environment())
    6.       └─orderly:::outpack_packet_end(p)
    7.         └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
    8.           └─orderly:::file_import_archive(...)
    9.             └─orderly:::copy_files(...)
   10.               └─fs::file_copy(src, dst, overwrite = FALSE)
  ── Error ('test-run.R:213:3'): Can run dependencies case without orderly ───────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed46c3ebac/.outpack/index': no space left on device
  Backtrace:
       ▆
    1. └─orderly:::orderly_run_quietly("data", root = path, envir = envir1) at test-run.R:213:3
    2.   ├─base::suppressMessages(orderly_run(..., echo = echo)) at ./helper-orderly.R:119:3
    3.   │ └─base::withCallingHandlers(...)
    4.   └─orderly::orderly_run(..., echo = echo)
    5.     └─orderly:::orderly_packet_cleanup_success(p, environment())
    6.       └─orderly:::outpack_packet_end(p)
    7.         └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
    8.           └─root$index$location(local)
    9.             └─self$refresh()
   10.               └─orderly:::index_update(private$path_, private$data_, FALSE, progress)
   11.                 └─fs::dir_create(dirname(path_index))
  ── Error ('test-run.R:277:3'): can run with shared resources using shorthand arguments ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/RtmpioO9fE/file599ed67fa8463/.outpack/location/local': no space left on device
  Backtrace:
      ▆
   1. └─orderly:::orderly_run_quietly(...) at test-run.R:277:3
   2.   ├─base::suppressMessages(orderly_run(..., echo = echo)) at ./helper-orderly.R:119:3
   3.   │ └─base::withCallingHandlers(...)
   4.   └─orderly::orderly_run(..., echo = echo)
   5.     └─orderly:::orderly_packet_cleanup_success(p, environment())
   6.       └─orderly:::outpack_packet_end(p)
   7.         └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   8.           └─orderly:::mark_packet_known(id, local, hash, time, root)
   9.             └─fs::dir_create(dirname(dest))
  ── Error ('test-run.R:932:3'): can compute dependencies ────────────────────────
  Error in `orderly_run(..., echo = echo)`: Failed to run report
  Caused by error in `gzfile()`:
  ! cannot open the connection
  ── Error ('test-run.R:1183:3'): cope with manually deleted packets, exclude from deps ──
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to copy 'examples/depends/depends.R' to '/tmp/RtmpioO9fE/file599ed1251c00e/src/depends/depends.R': no space left on device
  Backtrace:
      ▆
   1. └─orderly:::test_prepare_orderly_example(c("data", "depends")) at test-run.R:1183:3
   2.   └─orderly:::copy_examples(examples, tmp) at ./helper-orderly.R:5:3
   3.     └─fs::dir_copy(test_path("examples", i), file.path(path_src, "src")) at ./helper-orderly.R:55:5
   4.       └─fs::file_copy(...)
  ── Error ('test-validate.R:25:3'): Can orphan an invalid packet ────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. └─base::replicate(3, create_random_packet(root = root)) at test-validate.R:25:3
    2.   └─base::sapply(...)
    3.     └─base::lapply(X = X, FUN = FUN, ...)
    4.       └─orderly (local) FUN(X[[i]], ...)
    5.         └─orderly:::create_random_packet(root = root)
    6.           └─orderly:::outpack_packet_end_quietly(p) at ./helper-outpack.R:11:3
    7.             ├─base::suppressMessages(outpack_packet_end(...)) at ./helper-outpack.R:182:3
    8.             │ └─base::withCallingHandlers(...)
    9.             └─orderly:::outpack_packet_end(...)
   10.               └─orderly:::outpack_insert_packet(packet$path, json, packet$root)
   11.                 └─orderly:::mark_packet_known(id, local, hash, time, root)
   12.                   └─base::writeLines(to_json(dat, "outpack/location.json"), dest)
   13.                     └─base::file(con, "w")
  
  [ FAIL 27 | WARN 18 | SKIP 17 | PASS 2094 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 16/16 deferred expressions