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

This page was generated on 2023-04-11 14:50:27 -0400 (Tue, 11 Apr 2023).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 20.04.5 LTS)x86_644.2.3 (2023-03-15) -- "Shortstop Beagle" 4502
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

CHECK results for spatialLIBD on nebbiolo2


To the developers/maintainers of the spatialLIBD package:
Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 367/416HostnameOS / ArchINSTALLBUILDCHECK
spatialLIBD 1.10.1  (landing page)
Leonardo Collado-Torres
Snapshot Date: 2023-04-11 07:30:01 -0400 (Tue, 11 Apr 2023)
git_url: https://git.bioconductor.org/packages/spatialLIBD
git_branch: RELEASE_3_16
git_last_commit: 6321fee
git_last_commit_date: 2022-11-29 20:21:57 -0400 (Tue, 29 Nov 2022)
nebbiolo2Linux (Ubuntu 20.04.5 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published

Summary

Package: spatialLIBD
Version: 1.10.1
Command: /home/biocbuild/bbs-3.16-bioc/R/bin/R CMD check --install=check:spatialLIBD.install-out.txt --library=/home/biocbuild/bbs-3.16-bioc/R/site-library --timings spatialLIBD_1.10.1.tar.gz
StartedAt: 2023-04-11 12:20:11 -0400 (Tue, 11 Apr 2023)
EndedAt: 2023-04-11 12:33:11 -0400 (Tue, 11 Apr 2023)
EllapsedTime: 779.9 seconds
RetCode: 0
Status:   OK  
CheckDir: spatialLIBD.Rcheck
Warnings: 0

Command output

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


* using log directory ‘/home/biocbuild/bbs-3.16-data-experiment/meat/spatialLIBD.Rcheck’
* using R version 4.2.3 (2023-03-15)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘spatialLIBD/DESCRIPTION’ ... OK
* this is package ‘spatialLIBD’ version ‘1.10.1’
* 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 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 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 ... NOTE
registration_pseudobulk: no visible global function definition for
  ‘spatialCoords<-’
Undefined global functions or variables:
  spatialCoords<-
* 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 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
add_images     21.204  2.041  26.493
vis_gene       21.009  2.172  23.782
img_update_all 19.709  1.806  21.924
vis_gene_p     18.948  1.931  22.412
vis_grid_clus  18.266  2.380  21.296
vis_grid_gene  17.921  2.160  20.672
vis_clus       18.000  2.062  20.618
vis_clus_p     17.748  1.764  20.203
check_spe      17.755  1.687  20.067
cluster_export 17.305  1.716  19.875
cluster_import 17.399  1.441  19.409
geom_spatial   17.075  1.708  19.416
sce_to_spe     17.278  1.444  19.406
add_key        16.532  1.534  18.854
img_update     16.332  1.432  18.538
img_edit       16.268  1.488  18.400
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘TenX_data_download.Rmd’ using ‘UTF-8’... OK
  ‘spatialLIBD.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

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



Installation output

spatialLIBD.Rcheck/00install.out

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


* installing to library ‘/home/biocbuild/bbs-3.16-bioc/R/site-library’
* installing *source* package ‘spatialLIBD’ ...
** 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.2.3 (2023-03-15) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

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

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, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which.max, which.min

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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
rgstr_> sce_pseudo <- registration_pseudobulk(sce, "Cell_Cycle", "sample_id", c("age"), min_ncells = NULL)

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 8 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
               <character>            <character> <integer>
A_G0                    G0                      A         8
B_G0                    G0                      B        13
C_G0                    G0                      C         9
D_G0                    G0                      D         7
E_G0                    G0                      E        10
...                    ...                    ...       ...
A_S                      S                      A        12
B_S                      S                      B         8
C_S                      S                      C         7
D_S                      S                      D        14
E_S                      S                      E        11

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
rgstr_> sce_pseudo <- registration_pseudobulk(sce, "Cell_Cycle", "sample_id", c("age"), min_ncells = NULL)

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 8 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
               <character>            <character> <integer>
A_G0                    G0                      A         8
B_G0                    G0                      B        13
C_G0                    G0                      C         9
D_G0                    G0                      D         7
E_G0                    G0                      E        10
...                    ...                    ...       ...
A_S                      S                      A        12
B_S                      S                      B         8
C_S                      S                      C         7
D_S                      S                      D        14
E_S                      S                      E        11

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
rgstr_> sce_pseudo <- registration_pseudobulk(sce, "Cell_Cycle", "sample_id", c("age"), min_ncells = NULL)

rgstr_> colData(sce_pseudo)
DataFrame with 20 rows and 8 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
               <character>            <character> <integer>
A_G0                    G0                      A         8
B_G0                    G0                      B        13
C_G0                    G0                      C         9
D_G0                    G0                      D         7
E_G0                    G0                      E        10
...                    ...                    ...       ...
A_S                      S                      A        12
B_S                      S                      B         8
C_S                      S                      C         7
D_S                      S                      D        14
E_S                      S                      E        11

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 9 ]
> 
> proc.time()
   user  system elapsed 
 19.509   0.937  20.428 

Example timings

spatialLIBD.Rcheck/spatialLIBD-Ex.timings

nameusersystemelapsed
add10xVisiumAnalysis000
add_images21.204 2.04126.493
add_key16.532 1.53418.854
annotate_registered_clusters0.8970.0591.275
check_modeling_results0.8210.0801.188
check_sce2.6270.2043.152
check_sce_layer0.9150.1081.313
check_spe17.755 1.68720.067
cluster_export17.305 1.71619.875
cluster_import17.399 1.44119.409
enough_ram0.0110.0020.013
fetch_data1.1670.1841.673
gene_set_enrichment1.0260.0571.371
gene_set_enrichment_plot1.0700.0831.439
geom_spatial17.075 1.70819.416
get_colors0.9560.0841.401
img_edit16.268 1.48818.400
img_update16.332 1.43218.538
img_update_all19.709 1.80621.924
layer_boxplot2.4020.2443.171
layer_matrix_plot0.0080.0000.008
layer_stat_cor1.0130.1281.429
layer_stat_cor_plot2.1430.4362.781
locate_images000
read10xVisiumAnalysis000
read10xVisiumWrapper000
registration_block_cor2.5330.0962.628
registration_model0.8190.0480.868
registration_pseudobulk0.7510.0280.779
registration_stats_anova2.4840.0322.516
registration_stats_enrichment2.6380.0602.697
registration_stats_pairwise2.590.022.61
registration_wrapper4.0870.0284.115
run_app0.0000.0000.001
sce_to_spe17.278 1.44419.406
sig_genes_extract1.9130.2812.838
sig_genes_extract_all2.4430.2413.185
sort_clusters0.0030.0000.003
vis_clus18.000 2.06220.618
vis_clus_p17.748 1.76420.203
vis_gene21.009 2.17223.782
vis_gene_p18.948 1.93122.412
vis_grid_clus18.266 2.38021.296
vis_grid_gene17.921 2.16020.672