===============================
R CMD BUILD
===============================
* checking for file BatChef/DESCRIPTION ... OK
* preparing BatChef:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package (it is needed to build vignettes)
* creating vignettes ... OK
* cleaning src
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Omitted LazyData from DESCRIPTION
* building BatChef_0.99.8.tar.gz
===============================
BiocCheckGitClone('BatChef')
===============================
sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef
BiocVersion: 3.23
Package: BatChef
PackageVersion: 0.99.8
BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef.BiocCheck
BiocCheckVersion: 1.47.18
sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef
installDir: NULL
isTarBall: FALSE
platform: unix
* Checking valid files...
ERROR: System files found that should not be Git tracked.
BatChef.Rproj
* Checking individual file sizes...
* Checking for stray BiocCheck output folders...
* Checking for inst/doc folders...
* Checking if DESCRIPTION is well formatted...
* Checking NAMESPACE...
* Checking for valid maintainer...
* Checking CITATION...
i NOTE: (Optional) CITATION file not found. Only include a CITATION file if
there is a preprint or publication for this Bioconductor package. Note that
Bioconductor packages are not required to have a CITATION file but it is useful
both for users and for tracking Bioconductor project-wide metrics. When
including a CITATION file, add the publication using the 'doi' argument of
'bibentry()'.
BiocCheck v1.47.18 results
1 ERRORS | 0 WARNINGS | i 1 NOTES
i For more details, run
browseVignettes(package = 'BiocCheck')
===============================
R CMD CHECK
===============================
* using log directory /home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef.Rcheck
* using R Under development (unstable) (2026-01-15 r89304)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
GNU Fortran (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
* running under: Ubuntu 24.04.3 LTS
* using session charset: UTF-8
* using option --no-vignettes
* checking for file BatChef/DESCRIPTION ... OK
* checking extension type ... Package
* this is package BatChef version 0.99.8
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... INFO
Imports includes 32 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable. Move as many as possible to Suggests and
use conditionally.
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package BatChef can be installed ... OK
* used C++ compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... 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 code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... [23s/22s] OK
* checking whether the package can be loaded with stated dependencies ... [23s/22s] OK
* checking whether the package can be unloaded cleanly ... [23s/23s] OK
* checking whether the namespace can be loaded with stated dependencies ... [22s/21s] OK
* checking whether the namespace can be unloaded cleanly ... [24s/23s] OK
* checking loading without being on the library search path ... [25s/25s] 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 ... [74s/72s] NOTE
predition_plot: no visible binding for global variable pca
predition_plot: no visible binding for global variable coords
predition_plot: no visible binding for global variable svm_best
predition_plot: no visible binding for global variable pltt
predition_plot: no visible binding for global variable PC1
predition_plot: no visible binding for global variable PC2
suggested_method: no visible binding for global variable svm_best
Undefined global functions or variables:
PC1 PC2 coords pca pltt svm_best
* checking Rd files ... [0s/0s] OK
* checking Rd metadata ... OK
* checking Rd line widths ... 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 C/C++/Fortran sources/headers ... OK
* checking pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... NOTE
Compilation used the following non-portable flag(s):
-Werror=format-security
* checking compiled code ... INFO
Note: information on .o files is not available
* checking files in vignettes ... OK
* checking examples ... [97s/96s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
seuratV3Run 9.529 0.380 9.923
seuratV5Run 5.477 0.072 5.549
* checking for unstated dependencies in tests ... OK
* checking tests ...
Running testthat.R [52s/51s]
[52s/52s] ERROR
Running the tests in tests/testthat.R failed.
Last 20 lines of output:
6. anndata::AnnData(X = t(as.matrix(counts)), obs = obs, var = var)
7. reticulate::import("anndata", convert = FALSE)
8. reticulate:::py_module_import(module, convert = convert)
Error ('test-batch_correction.R:105:5'): LIGER method works
<python.builtin.ModuleNotFoundError/python.builtin.ImportError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition>
Error in `py_module_import(module, convert = convert)`: ModuleNotFoundError: No module named 'anndata'
Run `reticulate::py_last_error()` for details.
Backtrace:
1. base::suppressMessages(...) at test-batch_correction.R:104:3
2. base::withCallingHandlers(...)
3. utils::capture.output(...)
4. base::withVisible(...elt(i))
5. BatChef::simulate_data(...) at test-batch_correction.R:105:5
6. anndata::AnnData(X = t(as.matrix(counts)), obs = obs, var = var)
7. reticulate::import("anndata", convert = FALSE)
8. reticulate:::py_module_import(module, convert = convert)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 13 ]
Error:
! Test failures.
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... [4s/4s] OK
* DONE
Status: 1 ERROR, 2 NOTEs
See
/home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef.Rcheck/00check.log
for details.
WARNING: R CMD check exceeded 10 min requirement
===============================
BiocCheck('BatChef_0.99.8.tar.gz')
===============================
Installing BatChef
Package installed successfully
BatChef session metadata
sourceDir: /tmp/Rtmp1LUPY0/file2684c7c5d1c6a/BatChef
BiocVersion: 3.23
Package: BatChef
PackageVersion: 0.99.8
BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3968/817569995a7edf49176b244fd0ba8c47a5a6a30e/BatChef.BiocCheck
BiocCheckVersion: 1.47.18
sourceDir: /tmp/Rtmp1LUPY0/file2684c7c5d1c6a/BatChef
installDir: /tmp/Rtmp1LUPY0/file2684c2265abdb
isTarBall: TRUE
platform: unix
Running BiocCheck on BatChef
* Checking for deprecated package usage...
* Checking for remote package usage...
* Checking for 'LazyData: true' usage...
* Checking version number...
* Checking for version number mismatch...
* Checking new package version number...
* Checking R version dependency...
i NOTE: Update R version dependency from 4.5.0 to 4.6.0
* Checking package size...
* Checking individual file sizes...
* Checking biocViews...
* Checking that biocViews are present...
* Checking package type based on biocViews...
Software
* Checking for non-trivial biocViews...
* Checking that biocViews come from the same category...
* Checking biocViews validity...
* Checking for recommended biocViews...
i NOTE: Consider adding these automatically suggested biocViews: Clustering
i Search 'biocViews' at https://contributions.bioconductor.org
* Checking build system compatibility...
* Checking for proper Description: field...
* Checking if DESCRIPTION is well formatted...
* Checking for whitespace in DESCRIPTION field names...
* Checking that Package field matches directory/tarball name...
* Checking for Version: field...
* Checking License: for restrictive use...
* Checking for recommended DESCRIPTION fields...
* Checking for Bioconductor software dependencies...
i Bioconductor dependencies found in Imports & Depends (34%).
* Checking for pinned package versions in DESCRIPTION...
* Checking for 'fnd' role in Authors@R...
i NOTE: No 'fnd' role found in Authors@R. If the work is supported by a grant,
consider adding the 'fnd' role to the list of authors.
* Checking NAMESPACE...
* Checking .Rbuildignore...
* Checking for stray BiocCheck output folders...
* Checking vignette directory...
* Checking whether vignette is built with 'R CMD build'...
* Checking package installation calls in R code...
* Checking for library/require of BatChef...
* Checking coding practice...
i NOTE: Avoid 1:...; use seq_len() or seq_along()
Found in files:
BatChefParams.R (line 74, column 51)
...
seuratV5Run.R (line 65, column 32)
i NOTE: Avoid 'cat' and 'print' outside of 'show' methods
Found in files:
print() in R/predition_plot.R (line 81, column 5)
i NOTE: Avoid redundant 'stop' and 'warn*' in signal conditions
Found in files:
R/predition_plot.R (line 57, column 13)
* Checking parsed R code in R directory, examples, vignettes...
* Checking function lengths...
i NOTE: The recommended function length is 50 lines or less. There are 2
functions greater than 50 lines.
The longest 5 functions are:
simulate_data() (R/simulate_data.R): 112 lines
leiden_clustering() (R/leiden_clustering.R): 53 lines
* Checking man page documentation...
Registered S3 method overwritten by 'zellkonverter':
method from
py_to_r.pandas.core.arrays.categorical.Categorical reticulate
i NOTE: Consider adding runnable examples to man pages that document exported
objects.
BatChefParams.Rd
* Checking package NEWS...
* Checking unit tests...
* Checking skip_on_bioc() in tests...
* Checking formatting of DESCRIPTION, NAMESPACE, man pages, R source, and
vignette source...
i NOTE: Consider shorter lines; 74 lines (2%) are > 80 characters long.
First few lines:
R/adjusted_rand_index.R#L33 adjusted_rand_index <- function(input, l ...
...
vignettes/batch_correction.Rmd#L161 A low Wasserstein distance indicates tha
...
i NOTE: Consider multiples of 4 spaces for line indents; 702 lines (22%) are
not.
First few lines:
R/adjusted_rand_index.R#L35 group <- colData(input)[, label_true] ...
...
vignettes/batch_correction.Rmd#L149 ) ...
i See https://contributions.bioconductor.org/r-code.html
i See styler package: https://cran.r-project.org/package=styler as described in
the BiocCheck vignette.
* Checking if package already exists in CRAN...
* Checking if new package already exists in Bioconductor...
* Checking for bioc-devel mailing list subscription...
i Maintainer is subscribed to bioc-devel.
* Checking for support site registration...
i Maintainer is registered at support site.
i Package is in the Support Site Watched Tags.
BiocCheck v1.47.18 results
0 ERRORS | 0 WARNINGS | i 10 NOTES
i See the BatChef.BiocCheck folder and run
browseVignettes(package = 'BiocCheck')
for details.