Back to Build/check report for BioC 3.22 experimental data
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

This page was generated on 2025-06-19 15:41 -0400 (Thu, 19 Jun 2025).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 24.04.1 LTS)x86_644.5.0 (2025-04-11) -- "How About a Twenty-Six" 4810
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 377/429HostnameOS / ArchINSTALLBUILDCHECK
spatialLIBD 1.21.5  (landing page)
Leonardo Collado-Torres
Snapshot Date: 2025-06-19 07:30 -0400 (Thu, 19 Jun 2025)
git_url: https://git.bioconductor.org/packages/spatialLIBD
git_branch: devel
git_last_commit: aff00db
git_last_commit_date: 2025-05-09 11:38:42 -0400 (Fri, 09 May 2025)
nebbiolo2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published


CHECK results for spatialLIBD on nebbiolo2

To the developers/maintainers of the spatialLIBD package:
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: spatialLIBD
Version: 1.21.5
Command: /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD check --install=check:spatialLIBD.install-out.txt --library=/home/biocbuild/bbs-3.22-bioc/R/site-library --timings spatialLIBD_1.21.5.tar.gz
StartedAt: 2025-06-19 13:03:56 -0400 (Thu, 19 Jun 2025)
EndedAt: 2025-06-19 13:22:56 -0400 (Thu, 19 Jun 2025)
EllapsedTime: 1140.1 seconds
RetCode: 0
Status:   OK  
CheckDir: spatialLIBD.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD check --install=check:spatialLIBD.install-out.txt --library=/home/biocbuild/bbs-3.22-bioc/R/site-library --timings spatialLIBD_1.21.5.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.22-data-experiment/meat/spatialLIBD.Rcheck’
* using R version 4.5.0 (2025-04-11)
* 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.2 LTS
* using session charset: UTF-8
* checking for file ‘spatialLIBD/DESCRIPTION’ ... OK
* this is package ‘spatialLIBD’ version ‘1.21.5’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... INFO
Imports includes 36 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 ‘spatialLIBD’ 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 code 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 ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  check_sce.Rd: SingleCellExperiment-class
  check_sce_layer.Rd: SingleCellExperiment-class
  fetch_data.Rd: SingleCellExperiment-class
  layer_boxplot.Rd: SingleCellExperiment-class
  read10xVisiumWrapper.Rd: SpatialExperiment-class
  run_app.Rd: SingleCellExperiment-class
  sce_to_spe.Rd: SingleCellExperiment-class
  sig_genes_extract.Rd: SingleCellExperiment-class
  sig_genes_extract_all.Rd: SingleCellExperiment-class
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
* 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                           user system elapsed
vis_gene                 27.884  3.809  32.174
vis_clus                 20.963  2.992  24.311
add_images               20.417  2.251  24.039
img_update_all           19.062  2.049  21.154
add_qc_metrics           16.460  2.279  18.926
vis_grid_clus            16.173  2.506  19.176
vis_grid_gene            16.291  2.350  19.013
vis_clus_p               16.231  2.271  18.988
cluster_export           15.955  2.328  18.650
add_key                  16.153  2.091  18.755
cluster_import           16.182  1.896  18.521
vis_image                15.587  2.320  18.280
img_edit                 14.665  1.954  16.938
vis_gene_p               14.983  1.483  16.871
frame_limits             14.553  1.911  16.816
geom_spatial             14.742  1.522  16.720
img_update               14.377  1.816  16.538
check_spe                14.322  1.735  16.414
sce_to_spe               14.144  1.550  16.796
gene_set_enrichment_plot  8.105  0.785   9.229
layer_stat_cor            3.042  0.599   5.129
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: 1 NOTE
See
  ‘/home/biocbuild/bbs-3.22-data-experiment/meat/spatialLIBD.Rcheck/00check.log’
for details.


Installation output

spatialLIBD.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD INSTALL spatialLIBD
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.22-bioc/R/site-library’
* installing *source* package ‘spatialLIBD’ ...
** this is package ‘spatialLIBD’ version ‘1.21.5’
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (spatialLIBD)

Tests output

spatialLIBD.Rcheck/tests/testthat.Rout


R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(spatialLIBD)
Loading required package: SpatialExperiment
Loading required package: SingleCellExperiment
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

The following objects are masked from 'package:matrixStats':

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: generics

Attaching package: 'generics'

The following objects are masked from 'package:base':

    as.difftime, as.factor, as.ordered, intersect, is.element, setdiff,
    setequal, union


Attaching package: 'BiocGenerics'

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, is.unsorted, lapply,
    mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int,
    rank, rbind, rownames, sapply, saveRDS, table, tapply, unique,
    unsplit, which.max, which.min

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following object is masked from 'package:utils':

    findMatches

The following objects are masked from 'package:base':

    I, expand.grid, unname

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.


Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

    rowMedians

The following objects are masked from 'package:matrixStats':

    anyMissing, rowMedians

> 
> test_check("spatialLIBD")

rgstr_> ## Ensure reproducibility of example data
rgstr_> set.seed(20220907)

rgstr_> ## Generate example data
rgstr_> sce <- scuttle::mockSCE()

rgstr_> ## Add some sample IDs
rgstr_> sce$sample_id <- sample(LETTERS[1:5], ncol(sce), replace = TRUE)

rgstr_> ## Add a sample-level covariate: age
rgstr_> ages <- rnorm(5, mean = 20, sd = 4)

rgstr_> names(ages) <- LETTERS[1:5]

rgstr_> sce$age <- ages[sce$sample_id]

rgstr_> ## Add gene-level information
rgstr_> rowData(sce)$ensembl <- paste0("ENSG", seq_len(nrow(sce)))

rgstr_> rowData(sce)$gene_name <- paste0("gene", seq_len(nrow(sce)))

rgstr_> ## Pseudo-bulk by Cell Cycle
rgstr_> sce_pseudo <- registration_pseudobulk(
rgstr_+     sce,
rgstr_+     var_registration = "Cell_Cycle",
rgstr_+     var_sample_id = "sample_id",
rgstr_+     covars = c("age"),
rgstr_+     min_ncells = NULL
rgstr_+ )

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 9 columns
     Mutation_Status  Cell_Cycle   Treatment   sample_id       age
         <character> <character> <character> <character> <numeric>
A_G0              NA          G0          NA           A   19.1872
B_G0              NA          G0          NA           B   25.3496
C_G0              NA          G0          NA           C   24.1802
D_G0              NA          G0          NA           D   15.5211
E_G0              NA          G0          NA           E   20.9701
...              ...         ...         ...         ...       ...
A_S               NA           S          NA           A   19.1872
B_S               NA           S          NA           B   25.3496
C_S               NA           S          NA           C   24.1802
D_S               NA           S          NA           D   15.5211
E_S               NA           S          NA           E   20.9701
     registration_variable registration_sample_id    ncells pseudo_sum_umi
               <character>            <character> <integer>      <numeric>
A_G0                    G0                      A         8        2946915
B_G0                    G0                      B        13        4922867
C_G0                    G0                      C         9        3398888
D_G0                    G0                      D         7        2630651
E_G0                    G0                      E        10        3761710
...                    ...                    ...       ...            ...
A_S                      S                      A        12        4516334
B_S                      S                      B         8        2960685
C_S                      S                      C         7        2595774
D_S                      S                      D        14        5233560
E_S                      S                      E        11        4151818

rgstr_> ## Ensure reproducibility of example data
rgstr_> set.seed(20220907)

rgstr_> ## Generate example data
rgstr_> sce <- scuttle::mockSCE()

rgstr_> ## Add some sample IDs
rgstr_> sce$sample_id <- sample(LETTERS[1:5], ncol(sce), replace = TRUE)

rgstr_> ## Add a sample-level covariate: age
rgstr_> ages <- rnorm(5, mean = 20, sd = 4)

rgstr_> names(ages) <- LETTERS[1:5]

rgstr_> sce$age <- ages[sce$sample_id]

rgstr_> ## Add gene-level information
rgstr_> rowData(sce)$ensembl <- paste0("ENSG", seq_len(nrow(sce)))

rgstr_> rowData(sce)$gene_name <- paste0("gene", seq_len(nrow(sce)))

rgstr_> ## Pseudo-bulk by Cell Cycle
rgstr_> sce_pseudo <- registration_pseudobulk(
rgstr_+     sce,
rgstr_+     var_registration = "Cell_Cycle",
rgstr_+     var_sample_id = "sample_id",
rgstr_+     covars = c("age"),
rgstr_+     min_ncells = NULL
rgstr_+ )

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 9 columns
     Mutation_Status  Cell_Cycle   Treatment   sample_id       age
         <character> <character> <character> <character> <numeric>
A_G0              NA          G0          NA           A   19.1872
B_G0              NA          G0          NA           B   25.3496
C_G0              NA          G0          NA           C   24.1802
D_G0              NA          G0          NA           D   15.5211
E_G0              NA          G0          NA           E   20.9701
...              ...         ...         ...         ...       ...
A_S               NA           S          NA           A   19.1872
B_S               NA           S          NA           B   25.3496
C_S               NA           S          NA           C   24.1802
D_S               NA           S          NA           D   15.5211
E_S               NA           S          NA           E   20.9701
     registration_variable registration_sample_id    ncells pseudo_sum_umi
               <character>            <character> <integer>      <numeric>
A_G0                    G0                      A         8        2946915
B_G0                    G0                      B        13        4922867
C_G0                    G0                      C         9        3398888
D_G0                    G0                      D         7        2630651
E_G0                    G0                      E        10        3761710
...                    ...                    ...       ...            ...
A_S                      S                      A        12        4516334
B_S                      S                      B         8        2960685
C_S                      S                      C         7        2595774
D_S                      S                      D        14        5233560
E_S                      S                      E        11        4151818

rgst__> example("registration_model", package = "spatialLIBD")

rgstr_> example("registration_pseudobulk", package = "spatialLIBD")

rgstr_> ## Ensure reproducibility of example data
rgstr_> set.seed(20220907)

rgstr_> ## Generate example data
rgstr_> sce <- scuttle::mockSCE()

rgstr_> ## Add some sample IDs
rgstr_> sce$sample_id <- sample(LETTERS[1:5], ncol(sce), replace = TRUE)

rgstr_> ## Add a sample-level covariate: age
rgstr_> ages <- rnorm(5, mean = 20, sd = 4)

rgstr_> names(ages) <- LETTERS[1:5]

rgstr_> sce$age <- ages[sce$sample_id]

rgstr_> ## Add gene-level information
rgstr_> rowData(sce)$ensembl <- paste0("ENSG", seq_len(nrow(sce)))

rgstr_> rowData(sce)$gene_name <- paste0("gene", seq_len(nrow(sce)))

rgstr_> ## Pseudo-bulk by Cell Cycle
rgstr_> sce_pseudo <- registration_pseudobulk(
rgstr_+     sce,
rgstr_+     var_registration = "Cell_Cycle",
rgstr_+     var_sample_id = "sample_id",
rgstr_+     covars = c("age"),
rgstr_+     min_ncells = NULL
rgstr_+ )

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 9 columns
     Mutation_Status  Cell_Cycle   Treatment   sample_id       age
         <character> <character> <character> <character> <numeric>
A_G0              NA          G0          NA           A   19.1872
B_G0              NA          G0          NA           B   25.3496
C_G0              NA          G0          NA           C   24.1802
D_G0              NA          G0          NA           D   15.5211
E_G0              NA          G0          NA           E   20.9701
...              ...         ...         ...         ...       ...
A_S               NA           S          NA           A   19.1872
B_S               NA           S          NA           B   25.3496
C_S               NA           S          NA           C   24.1802
D_S               NA           S          NA           D   15.5211
E_S               NA           S          NA           E   20.9701
     registration_variable registration_sample_id    ncells pseudo_sum_umi
               <character>            <character> <integer>      <numeric>
A_G0                    G0                      A         8        2946915
B_G0                    G0                      B        13        4922867
C_G0                    G0                      C         9        3398888
D_G0                    G0                      D         7        2630651
E_G0                    G0                      E        10        3761710
...                    ...                    ...       ...            ...
A_S                      S                      A        12        4516334
B_S                      S                      B         8        2960685
C_S                      S                      C         7        2595774
D_S                      S                      D        14        5233560
E_S                      S                      E        11        4151818

rgstr_> registration_mod <- registration_model(sce_pseudo, "age")

rgstr_> head(registration_mod)
     registration_variableG0 registration_variableG1 registration_variableG2M
A_G0                       1                       0                        0
B_G0                       1                       0                        0
C_G0                       1                       0                        0
D_G0                       1                       0                        0
E_G0                       1                       0                        0
A_G1                       0                       1                        0
     registration_variableS      age
A_G0                      0 19.18719
B_G0                      0 25.34965
C_G0                      0 24.18019
D_G0                      0 15.52107
E_G0                      0 20.97006
A_G1                      0 19.18719

rgst__> block_cor <- registration_block_cor(sce_pseudo, registration_mod)
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 47 ]
> 
> proc.time()
   user  system elapsed 
109.599   9.312 121.618 

Example timings

spatialLIBD.Rcheck/spatialLIBD-Ex.timings

nameusersystemelapsed
add10xVisiumAnalysis000
add_images20.417 2.25124.039
add_key16.153 2.09118.755
add_qc_metrics16.460 2.27918.926
annotate_registered_clusters1.1150.0291.351
check_modeling_results1.1000.0761.335
check_sce3.3360.2053.703
check_sce_layer1.2960.1881.644
check_spe14.322 1.73516.414
cluster_export15.955 2.32818.650
cluster_import16.182 1.89618.521
enough_ram0.0030.0090.012
fetch_data1.2200.1431.538
frame_limits14.553 1.91116.816
gene_set_enrichment1.2230.0951.493
gene_set_enrichment_plot8.1050.7859.229
geom_spatial14.742 1.52216.720
get_colors1.2220.0931.492
img_edit14.665 1.95416.938
img_update14.377 1.81616.538
img_update_all19.062 2.04921.154
layer_boxplot3.2470.3063.916
layer_stat_cor3.0420.5995.129
layer_stat_cor_plot3.3390.1513.827
locate_images000
read10xVisiumAnalysis0.0000.0010.000
read10xVisiumWrapper000
registration_block_cor2.8060.1552.963
registration_model0.7400.0130.752
registration_pseudobulk0.6280.0080.635
registration_stats_anova2.9270.1213.048
registration_stats_enrichment3.0720.0753.147
registration_stats_pairwise2.8490.0112.859
registration_wrapper4.3290.0084.337
run_app0.0010.0000.001
sce_to_spe14.144 1.55016.796
sig_genes_extract2.5720.2723.179
sig_genes_extract_all3.1520.2403.715
sort_clusters0.0080.0000.008
vis_clus20.963 2.99224.311
vis_clus_p16.231 2.27118.988
vis_gene27.884 3.80932.174
vis_gene_p14.983 1.48316.871
vis_grid_clus16.173 2.50619.176
vis_grid_gene16.291 2.35019.013
vis_image15.587 2.32018.280