Running ‘testthat.R’ [19s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #library(ffbase)
  > library(testthat)
  > 
  > test_check("ffbase")
  Loading required package: ffbase
  Loading required package: ff
  Loading required package: bit
  
  Attaching package: 'bit'
  
  The following object is masked from 'package:base':
  
      xor
  
  Attaching package ff
  - getOption("fftempdir")=="/tmp/Rtmp7WRoMJ/working_dir/RtmpC9Ajcn/ff"
  
  - getOption("ffextension")=="ff"
  
  - getOption("ffdrop")==TRUE
  
  - getOption("fffinonexit")==TRUE
  
  - getOption("ffpagesize")==65536
  
  - getOption("ffcaching")=="mmnoflush"  -- consider "ffeachflush" if your system stalls on large writes
  
  - getOption("ffbatchbytes")==16777216 -- consider a different value for tuning your system
  
  - getOption("ffmaxbytes")==536870912 -- consider a different value for tuning your system
  
  
  Attaching package: 'ff'
  
  The following objects are masked from 'package:utils':
  
      write.csv, write.csv2
  
  The following objects are masked from 'package:base':
  
      is.factor, is.ordered
  
  Registered S3 methods overwritten by 'ffbase':
    method   from
    [.ff     ff  
    [.ffdf   ff  
    [<-.ff   ff  
    [<-.ffdf ff  
  
  Attaching package: 'ffbase'
  
  The following objects are masked from 'package:base':
  
      %in%, table
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (testwith.R:47:3): Creating a factor data.frame works ─────────────────
  Error in `ff(initdata = initdata, length = length, levels = levels, ordered = ordered, 
      dim = dim, dimorder = dimorder, bydim = bydim, symmetric = symmetric, 
      fixdiag = fixdiag, names = names, dimnames = dimnames, ramclass = ramclass, 
      ramattribs = ramattribs, vmode = vmode, update = update, 
      pattern = pattern, filename = filename, readonly = FALSE, 
      overwrite = overwrite, pagesize = pagesize, caching = caching, 
      finalizer = finalizer, finonexit = finonexit, FF_RETURN = FF_RETURN, 
      BATCHSIZE = BATCHSIZE, BATCHBYTES = BATCHBYTES, VERBOSE = VERBOSE)`: initdata[1] must be atomic
  Backtrace:
      █
   1. ├─base::with(...) testwith.R:47:2
   2. └─ffbase::with.ffdf(...)
   3.   ├─ff::as.ff(res)
   4.   └─ff:::as.ff.default(res)
   5.     └─ff::clone.ff(x, FF_RETURN = TRUE, filename = filename(x), overwrite = overwrite)
   6.       ├─base::assign(...)
   7.       └─ff::ff(...)
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 181 ]
  Error: Test failures
  Execution halted