Running ‘testthat.R’ [21s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(oro.nifti)
  oro.nifti 0.11.4
  > 
  > test_check("oro.nifti")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 316 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_nii2oro.R:9'): nii2oro() ───────────────────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_nii2oro.R:9:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::inherits(oro2nii(nim), "niftiImage") at test_nii2oro.R:10:4
    5. └─oro.nifti::oro2nii(nim)
    6.   ├─oro.nifti::writeNIfTI(...)
    7.   └─oro.nifti::writeNIfTI(...)
    8.     └─oro.nifti (local) .local(nim, ...)
    9.       └─oro.nifti:::.writeNIfTI(...)
   10.         ├─base::as.vector(inverseReorient(nim))
   11.         └─oro.nifti::inverseReorient(nim)
   12.           └─oro.nifti::reorient(nim, nim@.Data, verbose = verbose, invert = TRUE)
   13.             └─base::qr.solve(trans)
   14.               ├─base::qr(a, tol = tol)
   15.               └─base::qr.default(a, tol = tol)
  ── Error ('test_nii2oro.R:15'): oro2nii and back again ─────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. └─oro.nifti::oro2nii(nim) at test_nii2oro.R:15:2
    2.   ├─oro.nifti::writeNIfTI(...)
    3.   └─oro.nifti::writeNIfTI(...)
    4.     └─oro.nifti (local) .local(nim, ...)
    5.       └─oro.nifti:::.writeNIfTI(...)
    6.         ├─base::as.vector(inverseReorient(nim))
    7.         └─oro.nifti::inverseReorient(nim)
    8.           └─oro.nifti::reorient(nim, nim@.Data, verbose = verbose, invert = TRUE)
    9.             └─base::qr.solve(trans)
   10.               ├─base::qr(a, tol = tol)
   11.               └─base::qr.default(a, tol = tol)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 316 ]
  Error: Test failures
  Execution halted