[Bioc-devel] error on R CMD check

Zhigang Li |zg2151 @end|ng |rom gm@||@com
Wed Dec 7 06:01:59 CET 2022

Dear Bioconductor Developers,

Can you please help with an error message from R CMD check for the package IFAA?

The BioConductor platform produced the following error message when
running R CMD check
  Error in BiocGenerics:::testPackage("IFAA") :
    unable to find unit tests, no subdir 'unitTests'
  Execution halted

  However, the error is very strange because the subdirectory
 "unitTests" is there in the folder "inst". And we have previously
 passed the test of the package thru the github webpage
 (https://github.com/Bioconductor/Contributions/issues/2651). We have
 also tested it on our own computer and it did not have this error.
Below is the output from our personal computer.

(base) quranwu using MacBook-Pro-4 test % R CMD check --library=./
--no-vignettes --timings IFAA_0.99.9.tar.gz
* using log directory ‘/Users/quranwu/Desktop/test/IFAA.Rcheck’
* using R version 4.2.1 (2022-06-23)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘IFAA/DESCRIPTION’ ... OK
* this is package ‘IFAA’ version ‘0.99.9’
* 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 ‘IFAA’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ 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 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 ... 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 sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
        user system elapsed
IFAA  12.723  0.146  72.684
MZILN  0.944  0.020  15.038
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘runTests.R’
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
Status: OK

By any chance could it be because the IFAA package on CRAN got called
when running BiocGenerics:::testPackage("IFAA") on the BioConductor
platform? The IFAA package on CRAN indeed does not have the
subdirectory of "unitTests".


More information about the Bioc-devel mailing list