Running ‘spelling.R’
  Running ‘testthat.R’ [66s/71s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bigstatsr)
  > 
  > test_check("bigstatsr")
  Loading required package: foreach
  ========== SEED: 1 ==========
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (2)
  ● On Solaris (1)
  ● not_cran is not TRUE (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-FBM-accessors.R:50:5): (code run outside of `test_that()`) ──────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::big_copy(x0, type = t) test-FBM-accessors.R:50:4
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-convert.R:37:1): (code run outside of `test_that()`) ────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. ├─testthat::expect_warning(FBM(10, 10, "raw", runif(100))) test-FBM-convert.R:37:0
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bigstatsr::FBM(10, 10, "raw", runif(100))
    7.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    8.   └─(function (Class, ...) ...
    9.     ├─methods::initialize(value, ...)
   10.     └─methods::initialize(value, ...)
   11.       └─.Object$initialize(...)
   12.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   13.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-create.R:60:7): Creating an FBM works ───────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::as_FBM(x0, type = t, is_read_only = is_ro) test-FBM-create.R:60:6
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-file.R:8:3): $save() works ──────────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(10, 10) test-FBM-file.R:8:2
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-file.R:30:3): addColums() works ─────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(10, 10, init = init) test-FBM-file.R:30:2
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-file.R:53:3): addColums() works with FBM.code256 ────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM.code256(10, 10, init = init, code = 0:255) test-FBM-file.R:53:2
   2.   ├─base::do.call(...)
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::callSuper(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-permissions.R:8:1): (code run outside of `test_that()`) ─────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(10, 10, backingfile = tmp, init = NA) test-FBM-permissions.R:8:0
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-FBM-replace-df.R:36:5): Replace works with data frames ──────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(nrow(x), ncol(x), type = t) test-FBM-replace-df.R:36:4
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Failure (test-FBM-replace-df.R:82:3): Some types won't work ─────────────────
  `as_FBM(iris)` threw an error with unexpected message.
  Expected match: "R type 'character' is not supported."
  Actual message: "Not implemented on this platform: `ps_disk_usage`"
  Backtrace:
       █
    1. ├─testthat::expect_error(as_FBM(iris), "R type 'character' is not supported.") test-FBM-replace-df.R:82:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bigstatsr::as_FBM(iris)
    7.   └─bigstatsr::FBM(...)
    8.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    9.     └─(function (Class, ...) ...
   10.       ├─methods::initialize(value, ...)
   11.       └─methods::initialize(value, ...)
   12.         └─.Object$initialize(...)
   13.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   14.             └─ps::ps_disk_usage(dirname(path))
  ── Failure (test-FBM-replace-df.R:85:3): Some types won't work ─────────────────
  `as_FBM(iris)` threw an error with unexpected message.
  Expected match: "R type 'list' is not supported."
  Actual message: "Not implemented on this platform: `ps_disk_usage`"
  Backtrace:
       █
    1. ├─testthat::expect_error(as_FBM(iris), "R type 'list' is not supported.") test-FBM-replace-df.R:85:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bigstatsr::as_FBM(iris)
    7.   └─bigstatsr::FBM(...)
    8.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    9.     └─(function (Class, ...) ...
   10.       ├─methods::initialize(value, ...)
   11.       └─methods::initialize(value, ...)
   12.         └─.Object$initialize(...)
   13.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   14.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-SVD.R:28:1): (code run outside of `test_that()`) ────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. ├─bigstatsr::big_SVD(as_FBM(x), big_scale(), ind.row = 1:40) test-SVD.R:28:0
    2. │ └─bigstatsr:::check_args()
    3. │   ├─base::as.list(parent.frame())
    4. │   └─base::as.list.environment(parent.frame())
    5. └─bigstatsr::as_FBM(x)
    6.   └─bigstatsr::FBM(...)
    7.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    8.     └─(function (Class, ...) ...
    9.       ├─methods::initialize(value, ...)
   10.       └─methods::initialize(value, ...)
   11.         └─.Object$initialize(...)
   12.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   13.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-apply.R:18:5): equality with other functions ────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-apply.R:18:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-bigmemory.R:13:5): Conversion to big.matrix works ───────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(10, 10, type = t, init = 0) test-bigmemory.R:13:4
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-checkArgs.R:10:1): (code run outside of `test_that()`) ──────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM(10, 10, type = "raw") test-checkArgs.R:10:0
   2.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   8.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-colstats.R:20:5): Equality with matrix operations ───────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-colstats.R:20:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-copy.R:54:7): Copy of same type ─────────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::big_copy(x0, type = t, is_read_only = is_ro) test-copy.R:54:6
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-copy.R:100:3): Copy from big.matrix ─────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::big_copy(X) test-copy.R:100:2
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-cor.R:18:5): equality with cor ──────────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-cor.R:18:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-cor.R:31:5): equality with cor with half of the data ────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-cor.R:31:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-cor.R:44:5): equality with cor with half of the data ────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-cor.R:44:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-counts.R:13:1): (code run outside of `test_that()`) ─────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-counts.R:13:0
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-crossprodSelf.R:18:5): equality with crossprod ──────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-crossprodSelf.R:18:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-crossprodSelf.R:37:5): equality with crossprod with half of the data ──
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-crossprodSelf.R:37:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-crossprodSelf.R:59:5): equality with crossprod with half of the data ──
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-crossprodSelf.R:59:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-parallelize.R:10:3): need more tests ────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. ├─testthat::expect_length(...) test-parallelize.R:10:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─bigstatsr::big_parallelize(FBM(5, 1), function(X, ind) 1, ncores = test_cores())
    5. │ ├─bigparallelr::split_parapply(...)
    6. │ │ └─bigparallelr::split_len(length(ind), nb_split = nb_split)
    7. │ │   └─bigassertr::assert_one_int(total_len)
    8. │ └─bigparallelr::cols_along(X)
    9. │   └─base::ncol(x)
   10. └─bigstatsr::FBM(5, 1)
   11.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   12.   └─(function (Class, ...) ...
   13.     ├─methods::initialize(value, ...)
   14.     └─methods::initialize(value, ...)
   15.       └─.Object$initialize(...)
   16.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   17.           └─ps::ps_disk_usage(dirname(path))
  ── Error (test-prodMat.R:17:3): (code run outside of `test_that()`) ────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-prodMat.R:17:2
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-prodVec.R:17:3): (code run outside of `test_that()`) ────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-prodVec.R:17:2
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-randomSVD.R:28:5): equality with prcomp ─────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-randomSVD.R:28:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-randomSVD.R:62:5): equality with prcomp with half of the data ───
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-randomSVD.R:62:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-randomSVD.R:94:5): equality with prcomp with half of half of the data ──
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-randomSVD.R:94:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-read.R:27:7): read with or without dimnames ─────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::big_copy(x, type = t) test-read.R:27:6
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-read.R:72:7): read with filtering ───────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::big_copy(x, type = t) test-read.R:72:6
   2.   └─bigstatsr::FBM(...)
   3.     ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   4.     └─(function (Class, ...) ...
   5.       ├─methods::initialize(value, ...)
   6.       └─methods::initialize(value, ...)
   7.         └─.Object$initialize(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-spLinReg.R:313:3): code is used for FBM.code256 ─────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM.code256(...) test-spLinReg.R:313:2
   2.   ├─base::do.call(...)
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::callSuper(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-spLogReg.R:311:3): code is used for FBM.code256 ─────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
      █
   1. └─bigstatsr::FBM.code256(...) test-spLogReg.R:311:2
   2.   ├─base::do.call(...)
   3.   └─(function (Class, ...) ...
   4.     ├─methods::initialize(value, ...)
   5.     └─methods::initialize(value, ...)
   6.       └─.Object$initialize(...)
   7.         └─bigstatsr:::callSuper(...)
   8.           └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   9.             └─ps::ps_disk_usage(dirname(path))
  ── Error (test-tcrossprodSelf.R:20:5): equality with tcrossprod ────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-tcrossprodSelf.R:20:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-tcrossprodSelf.R:39:5): equality with tcrossprod with half of the data ──
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-tcrossprodSelf.R:39:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-tcrossprodSelf.R:61:5): equality with tcrossprod with half of the data ──
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-tcrossprodSelf.R:61:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-transpose.R:18:5): Equality with t() ────────────────────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-transpose.R:18:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-univLinReg.R:37:5): equality with lm with all data ──────────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-univLinReg.R:37:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-univLinReg.R:65:5): equality with lm with only half the data ────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. └─bigstatsr:::asFBMcode(x) test-univLinReg.R:65:4
    2.   ├─bigstatsr::add_code256(big_copy(x, type = "raw"), code) helper-init.R:40:2
    3.   └─bigstatsr::big_copy(x, type = "raw")
    4.     └─bigstatsr::FBM(...)
    5.       ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
    6.       └─(function (Class, ...) ...
    7.         ├─methods::initialize(value, ...)
    8.         └─methods::initialize(value, ...)
    9.           └─.Object$initialize(...)
   10.             └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   11.               └─ps::ps_disk_usage(dirname(path))
  ── Error (test-univLogReg.R:12:1): (code run outside of `test_that()`) ─────────
  Error: Not implemented on this platform: `ps_disk_usage`
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-univLogReg.R:12:0
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─testthat::expect_message(...)
    7. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    8. │   ├─testthat:::.capture(...)
    9. │   │ └─base::withCallingHandlers(...)
   10. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. ├─bigstatsr::big_univLogReg(FBM(4, 1, init = 0), c(0, 1, 1, 1))
   12. │ └─bigstatsr:::check_args()
   13. │   ├─base::as.list(parent.frame())
   14. │   └─base::as.list.environment(parent.frame())
   15. └─bigstatsr::FBM(4, 1, init = 0)
   16.   ├─base::do.call(methods::new, args = c(Class = "FBM", as.list(environment())))
   17.   └─(function (Class, ...) ...
   18.     ├─methods::initialize(value, ...)
   19.     └─methods::initialize(value, ...)
   20.       └─.Object$initialize(...)
   21.         └─bigstatsr:::assert_disk_space(bkfile, .self$file_size)
   22.           └─ps::ps_disk_usage(dirname(path))
  
  [ FAIL 41 | WARN 0 | SKIP 9 | PASS 118 ]
  Error: Test failures
  Execution halted