Dear Mac users,

Can someone of you identify the cause of the problem in

https://www.r-project.org/nosvn/R.check/r-oldrel-macos-x86_64/ff-00check.html

I can't because I don't have access to a Mac.

It seems that gc() after rm(ffobject) does not remove the ff file in rows

(@test-zero_lengths.R#34)
(@test-zero_lengths.R#35)
(@test-zero_lengths.R#63)
(@test-zero_lengths.R#64)

so maybe the finalizer is not triggered? Does delete(ffobject) work?

Kind regards


Jens


-------- Forwarded Message --------
Subject: Re: CRAN package ff
Date: Mon, 24 Aug 2020 08:23:24 +0100
From: Prof Brian Ripley <rip...@stats.ox.ac.uk>
Reply-To: c...@r-project.org
To: jens.oehlschlae...@truecluster.com
CC: c...@r-project.org

On 24/08/2020 08:19, Prof Brian Ripley wrote:
> Dear maintainer,
>
> Please see the problems shown on
> <https://cran.r-project.org/web/checks/check_results_ff.html>.
>
> Please correct before 2020-09-07 to safely retain your package on CRAN.
>
> The CRAN Team
>
I am seeing the macOS errors on all flavours: a more complete log is
installed.

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

* using log directory ‘/Users/ripley/R/packages/tests-devel/ff.Rcheck’
* using R Under development (unstable) (2020-08-10 r79000)
* using platform: x86_64-apple-darwin17.7.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘ff/DESCRIPTION’ ... OK
* this is package ‘ff’ version ‘4.0.2’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘ff’ can be installed ... [42s/55s] OK
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [33s/44s] OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in shell scripts ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... OK
* checking compiled code ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking examples ... [13s/18s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("ff")
  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")=="/var/folders/gv/f60jb6tn7fxb9sz1yfr7d_vm0000gp/T//Rtmp8HK6B8/working_dir/Rtmp4HJlIg/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
  
  ── 1. Failure: file size is correct  when creating ff integer from 
scratch (@tes
  file.exists(f0) isn't false.
  
  ── 2. Failure: file size is correct  when creating ff integer from 
scratch (@tes
  file.exists(f1) isn't false.
  
  ── 3. Failure: file size is correct  when creating ff quad from scratch 
(@test-z
  file.exists(f0) isn't false.
  
  ── 4. Failure: file size is correct  when creating ff quad from scratch 
(@test-z
  file.exists(f1) isn't false.
  
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [0]
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = 0:1) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [1]
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [1]
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [1]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = 0:1) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [9]
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(9L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [0]
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [0]
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = 0:1) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = 1:0) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [9]
  Error in dim(rtmp) <- dtmp : 
    dims [product 81] do not match the length of object [9]
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 0L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = 0:1) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = 1:0) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 1] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 1L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = c(0L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [81]
  Error in `dim<-.ff`(`*tmp*`, value = c(1L, 9L)) : 
    you can only grow or shrink the slowest rotating dim
  Error in dim(rtmp) <- dtmp : 
    dims [product 0] do not match the length of object [81]
  Error in dim(rtmp) <- dtmp : 
    dims [product 9] do not match the length of object [81]
  ══ testthat results  
═══════════════════════════════════════════════════════════
  [ OK: 965 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 4 ]
  1. Failure: file size is correct  when creating ff integer from scratch 
(@test-zero_lengths.R#34) 
  2. Failure: file size is correct  when creating ff integer from scratch 
(@test-zero_lengths.R#35) 
  3. Failure: file size is correct  when creating ff quad from scratch 
(@test-zero_lengths.R#63) 
  4. Failure: file size is correct  when creating ff quad from scratch 
(@test-zero_lengths.R#64) 
  
  Error: testthat unit tests failed
  Execution halted
* checking PDF version of manual ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 1 ERROR
See
  ‘/Users/ripley/R/packages/tests-devel/ff.Rcheck/00check.log’
for details.

      187.89 real       131.82 user        12.43 sys
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to