| Back to Build/check report for BioC 3.17 | 
  | 
This page was generated on 2023-02-08 01:15:27 -0000 (Wed, 08 Feb 2023).
| Hostname | OS | Arch (*) | R version | Installed pkgs | 
|---|---|---|---|---|
| kunpeng1 | Linux (Ubuntu 22.04.1 LTS) | aarch64 | R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences" | 4164 | 
| 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 | ||||
| 
To the developers/maintainers of the SCOPE package: - Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/SCOPE.git to reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information. - Make sure to use the following settings in order to reproduce any error or warning you see on this page.  | 
| Package 1796/2164 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
| SCOPE 1.11.0  (landing page) Rujin Wang 
  | kunpeng1 | Linux (Ubuntu 22.04.1 LTS) / aarch64 | OK | OK | ERROR | |||||||||
| Package: SCOPE | 
| Version: 1.11.0 | 
| Command: /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:SCOPE.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings SCOPE_1.11.0.tar.gz | 
| StartedAt: 2023-02-07 14:59:51 -0000 (Tue, 07 Feb 2023) | 
| EndedAt: 2023-02-07 15:06:24 -0000 (Tue, 07 Feb 2023) | 
| EllapsedTime: 392.2 seconds | 
| RetCode: 1 | 
| Status: ERROR | 
| CheckDir: SCOPE.Rcheck | 
| Warnings: NA | 
##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:SCOPE.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/library --timings SCOPE_1.11.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/SCOPE.Rcheck’
* using R Under development (unstable) (2023-01-14 r83615)
* using platform: aarch64-unknown-linux-gnu (64-bit)
* R was compiled by
    gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
    GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
* running under: Ubuntu 22.04.1 LTS
* using session charset: UTF-8
* checking for file ‘SCOPE/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘SCOPE’ version ‘1.11.0’
* 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 ‘SCOPE’ 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 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 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 ... ERROR
Running examples in ‘SCOPE-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: normalize_scope_group
> ### Title: Group-wise normalization of read depth with latent factors using
> ###   Expectation-Maximization algorithm and shared clonal memberships
> ### Aliases: normalize_scope_group
> 
> ### ** Examples
> 
> Gini <- get_gini(Y_sim)
> 
> # first-pass CODEX2 run with no latent factors
> normObj.sim <- normalize_codex2_ns_noK(Y_qc = Y_sim,
+                                         gc_qc = ref_sim$gc,
+                                         norm_index = which(Gini<=0.12))
Computing normalization with no latent factors
Iteration 1	beta diff =0.00882	f(GC) diff =4.28e-07
Iteration 2	beta diff =2.21e-06	f(GC) diff =9.35e-12
Stop at Iteration 2.
> Yhat.noK.sim <- normObj.sim$Yhat
> beta.hat.noK.sim <- normObj.sim$beta.hat
> fGC.hat.noK.sim <- normObj.sim$fGC.hat
> N.sim <- normObj.sim$N
> 
> # Group-wise ploidy initialization
> clones <- c("normal", "tumor1", "normal", "tumor1", "tumor1")
> ploidy.sim.group <- initialize_ploidy_group(Y = Y_sim, Yhat = Yhat.noK.sim, 
+                                 ref = ref_sim, groups = clones)
Initializing ploidy for cell  1 	
 Initialize ploidy by group 
normal 	tumor1 	> ploidy.sim.group
[1] 2.0 2.1 2.0 2.1 2.1
> 
> normObj.scope.sim.group <- normalize_scope_group(Y_qc = Y_sim, 
+                                     gc_qc = ref_sim$gc,
+                                     K = 1, ploidyInt = ploidy.sim.group,
+                                     norm_index = which(clones=="normal"), 
+                                     groups = clones, 
+                                     T = 1:5,
+                                     beta0 = beta.hat.noK.sim)
Initialization ...
normal 	tumor1 	1 	2 	3 	4 	Killed
* 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 ...
  ‘SCOPE_vignette.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... ERROR
Error(s) in re-building vignettes:
  ...
--- re-building ‘SCOPE_vignette.Rmd’ using rmarkdown
Killed
* checking PDF version of manual ... OK
* DONE
Status: 2 ERRORs
See
  ‘/home/biocbuild/bbs-3.17-bioc/meat/SCOPE.Rcheck/00check.log’
for details.
SCOPE.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL SCOPE ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/library’ * installing *source* package ‘SCOPE’ ... ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 (SCOPE)
SCOPE.Rcheck/tests/testthat.Rout
R Under development (unstable) (2023-01-14 r83615) -- "Unsuffered Consequences"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-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(SCOPE)
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: Rsamtools
Loading required package: Biostrings
Loading required package: XVector
Attaching package: 'Biostrings'
The following object is masked from 'package:base':
    strsplit
Loading required package: BSgenome.Hsapiens.UCSC.hg19
Loading required package: BSgenome
Loading required package: rtracklayer
> 
> test_check("SCOPE")
Initializing ploidy for cell  1 	Initializing ploidy for cell  1 	[ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ]
> 
> proc.time()
   user  system elapsed 
 29.631   0.551  30.500 
SCOPE.Rcheck/SCOPE-Ex.timings
| name | user | system | elapsed | |
| get_bam_bed | 0.181 | 0.033 | 0.446 | |
| get_coverage_scDNA | 7.031 | 0.164 | 7.215 | |
| get_gc | 0 | 0 | 0 | |
| get_gini | 0.010 | 0.000 | 0.012 | |
| get_mapp | 0 | 0 | 0 | |
| get_samp_QC | 2.970 | 0.132 | 3.109 | |
| initialize_ploidy | 0.982 | 0.012 | 1.003 | |
| initialize_ploidy_group | 0.956 | 0.012 | 0.968 | |
| normalize_codex2_ns_noK | 0.291 | 0.004 | 0.295 | |
| normalize_scope | 25.814 | 0.572 | 26.512 | |
| normalize_scope_foreach | 22.28 | 2.70 | 17.65 | |