Back to Multiple platform build/check report for BioC 3.11
ABCDEFGHIJKLMNOPQRSTU[V]WXYZ

CHECK report for Vega on tokay2

This page was generated on 2020-10-17 11:57:59 -0400 (Sat, 17 Oct 2020).

TO THE DEVELOPERS/MAINTAINERS OF THE Vega PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1871/1905HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Vega 1.36.0
Sandro Morganella
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020)
URL: https://git.bioconductor.org/packages/Vega
Branch: RELEASE_3_11
Last Commit: 561d08d
Last Changed Date: 2020-04-27 14:23:57 -0400 (Mon, 27 Apr 2020)
malbec2 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK  ERROR 
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK [ ERROR ] NA 
machv2 macOS 10.14.6 Mojave / x86_64  OK  OK  ERROR  OK 

Summary

Package: Vega
Version: 1.36.0
Command: C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:Vega.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings Vega_1.36.0.tar.gz
StartedAt: 2020-10-17 09:11:42 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 09:12:17 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 35.0 seconds
RetCode: 1
Status:  ERROR  
CheckDir: Vega.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:Vega.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings Vega_1.36.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.11-bioc/meat/Vega.Rcheck'
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'Vega/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'Vega' version '1.36.0'
* 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 whether package 'Vega' can be installed ... WARNING
Found the following significant warnings:
  Warning: Package 'Vega' is deprecated and will be removed from Bioconductor
See 'C:/Users/biocbuild/bbs-3.11-bioc/meat/Vega.Rcheck/00install.out' for details.
* 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
* loading checks for arch 'i386'
** 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
* loading checks for arch 'x64'
** 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 ... NOTE
plotSegmentation: no visible global function definition for 'par'
plotSegmentation: no visible global function definition for 'lines'
vega: no visible global function definition for 'sd'
vega: no visible global function definition for 'write.table'
Undefined global functions or variables:
  lines par sd write.table
Consider adding
  importFrom("graphics", "lines", "par")
  importFrom("stats", "sd")
  importFrom("utils", "write.table")
to your NAMESPACE file.
* 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 data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.11-bioc/R/library/Vega/libs/i386/Vega.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
File 'C:/Users/biocbuild/bbs-3.11-bioc/R/library/Vega/libs/x64/Vega.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'Vega-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plotSegmentation
> ### Title: Plot observations and the respective segmentation.
> ### Aliases: plotSegmentation
> 
> ### ** Examples
> 
> 	
> 	# Import the data
> 	data(G519)
> 	
> 	# Compute the segmentation for all chromosomes
> 	seg <- vega(G519, c(1:22, "X", "Y"))
Processing Chromosome 1
Done

Processing Chromosome 2
Done

Processing Chromosome 3
Done

Processing Chromosome 4
Done

Processing Chromosome 5
Done

Processing Chromosome 6
Done

Processing Chromosome 7
Done

Processing Chromosome 8
Done

Processing Chromosome 9
Done

Processing Chromosome 10
Done

Processing Chromosome 11
Done

Processing Chromosome 12
Done

Processing Chromosome 13
Done

Processing Chromosome 14
Done

Processing Chromosome 15
Done

Processing Chromosome 16
Done

Processing Chromosome 17
Done

Processing Chromosome 18
Done

Processing Chromosome 19
Done

Processing Chromosome 20
Done

Processing Chromosome 21
Done

Processing Chromosome 22
Done

Processing Chromosome X
Done

Processing Chromosome Y
Done

> 	
> 	# Plot the results for all chromosomes in terms of mean of LRRs 
> 	plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt=0)
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
Vega
 --- call from context --- 
plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt = 0)
 --- call from argument --- 
if (class(data_table) != "matrix") {
    data_table <- t(as.matrix(data_table))
}
 --- R stacktrace ---
where 1: plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt = 0)

 --- value of length: 2 type: logical ---
[1] FALSE  TRUE
 --- function from context --- 
function (CNVdata, segmentation, chromosomes, opt = 0) 
{
    num_of_chroms <- length(chromosomes)
    if (num_of_chroms <= 6) {
        rows <- 1
        cols <- num_of_chroms
    }
    else {
        cols <- 6
        tmp1 <- round(num_of_chroms/cols)
        tmp2 <- num_of_chroms/cols
        diff_tmp <- tmp1 - tmp2
        if (diff_tmp == 0) {
            rows <- tmp1
        }
        else {
            rows <- tmp1 + 1
        }
    }
    par(mfrow = c(rows, cols))
    for (i in 1:num_of_chroms) {
        curr_chr <- chromosomes[i]
        data_table <- CNVdata[which(CNVdata[, 1] == curr_chr), 
            ]
        if (class(data_table) != "matrix") {
            data_table <- t(as.matrix(data_table))
        }
        curr_seg <- segmentation[which(segmentation[, 1] == curr_chr), 
            ]
        if (class(curr_seg) != "matrix") {
            curr_seg <- t(as.matrix(curr_seg))
        }
        min_lrr <- min(as.numeric(data_table[, 4])) - 0.5
        max_lrr <- max(as.numeric(data_table[, 4])) + 0.5
        if (opt == 1 && min_lrr > -1.5) {
            min_lrr <- -1.5
        }
        if (opt == 1 && max_lrr < 1.5) {
            max_lrr <- 1.5
        }
        plot(as.numeric(data_table[, 4]), col = "blue", xaxt = "n", 
            xlab = "", ylab = "LRR", main = paste("chromosome", 
                curr_chr), ylim = c(min_lrr, max_lrr))
        chr_size <- sum(as.numeric(curr_seg[, 4]))
        tmp <- 0 * c(1:chr_size)
        curr = 1
        for (i in 1:nrow(curr_seg)) {
            if (opt == 0) {
                label = as.numeric(curr_seg[i, 5])
            }
            if (opt == 1) {
                label = as.numeric(curr_seg[i, 6])
            }
            tmp[curr:(curr + as.numeric(curr_seg[i, 4]))] <- label
            curr = (curr + as.numeric(curr_seg[i, 4]))
        }
        lines(c(1:length(tmp)), tmp, col = "red", lwd = 2)
    }
}
<bytecode: 0x03622928>
<environment: namespace:Vega>
 --- function search by body ---
Function plotSegmentation in namespace Vega has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1

** running examples for arch 'x64' ... ERROR
Running examples in 'Vega-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plotSegmentation
> ### Title: Plot observations and the respective segmentation.
> ### Aliases: plotSegmentation
> 
> ### ** Examples
> 
> 	
> 	# Import the data
> 	data(G519)
> 	
> 	# Compute the segmentation for all chromosomes
> 	seg <- vega(G519, c(1:22, "X", "Y"))
Processing Chromosome 1
Done

Processing Chromosome 2
Done

Processing Chromosome 3
Done

Processing Chromosome 4
Done

Processing Chromosome 5
Done

Processing Chromosome 6
Done

Processing Chromosome 7
Done

Processing Chromosome 8
Done

Processing Chromosome 9
Done

Processing Chromosome 10
Done

Processing Chromosome 11
Done

Processing Chromosome 12
Done

Processing Chromosome 13
Done

Processing Chromosome 14
Done

Processing Chromosome 15
Done

Processing Chromosome 16
Done

Processing Chromosome 17
Done

Processing Chromosome 18
Done

Processing Chromosome 19
Done

Processing Chromosome 20
Done

Processing Chromosome 21
Done

Processing Chromosome 22
Done

Processing Chromosome X
Done

Processing Chromosome Y
Done

> 	
> 	# Plot the results for all chromosomes in terms of mean of LRRs 
> 	plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt=0)
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
Vega
 --- call from context --- 
plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt = 0)
 --- call from argument --- 
if (class(data_table) != "matrix") {
    data_table <- t(as.matrix(data_table))
}
 --- R stacktrace ---
where 1: plotSegmentation(G519, seg, c(1:22, "X", "Y"), opt = 0)

 --- value of length: 2 type: logical ---
[1] FALSE  TRUE
 --- function from context --- 
function (CNVdata, segmentation, chromosomes, opt = 0) 
{
    num_of_chroms <- length(chromosomes)
    if (num_of_chroms <= 6) {
        rows <- 1
        cols <- num_of_chroms
    }
    else {
        cols <- 6
        tmp1 <- round(num_of_chroms/cols)
        tmp2 <- num_of_chroms/cols
        diff_tmp <- tmp1 - tmp2
        if (diff_tmp == 0) {
            rows <- tmp1
        }
        else {
            rows <- tmp1 + 1
        }
    }
    par(mfrow = c(rows, cols))
    for (i in 1:num_of_chroms) {
        curr_chr <- chromosomes[i]
        data_table <- CNVdata[which(CNVdata[, 1] == curr_chr), 
            ]
        if (class(data_table) != "matrix") {
            data_table <- t(as.matrix(data_table))
        }
        curr_seg <- segmentation[which(segmentation[, 1] == curr_chr), 
            ]
        if (class(curr_seg) != "matrix") {
            curr_seg <- t(as.matrix(curr_seg))
        }
        min_lrr <- min(as.numeric(data_table[, 4])) - 0.5
        max_lrr <- max(as.numeric(data_table[, 4])) + 0.5
        if (opt == 1 && min_lrr > -1.5) {
            min_lrr <- -1.5
        }
        if (opt == 1 && max_lrr < 1.5) {
            max_lrr <- 1.5
        }
        plot(as.numeric(data_table[, 4]), col = "blue", xaxt = "n", 
            xlab = "", ylab = "LRR", main = paste("chromosome", 
                curr_chr), ylim = c(min_lrr, max_lrr))
        chr_size <- sum(as.numeric(curr_seg[, 4]))
        tmp <- 0 * c(1:chr_size)
        curr = 1
        for (i in 1:nrow(curr_seg)) {
            if (opt == 0) {
                label = as.numeric(curr_seg[i, 5])
            }
            if (opt == 1) {
                label = as.numeric(curr_seg[i, 6])
            }
            tmp[curr:(curr + as.numeric(curr_seg[i, 4]))] <- label
            curr = (curr + as.numeric(curr_seg[i, 4]))
        }
        lines(c(1:length(tmp)), tmp, col = "red", lwd = 2)
    }
}
<bytecode: 0x00000000075b6ff8>
<environment: namespace:Vega>
 --- function search by body ---
Function plotSegmentation in namespace Vega has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1

* 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
* DONE

Status: 2 ERRORs, 1 WARNING, 2 NOTEs
See
  'C:/Users/biocbuild/bbs-3.11-bioc/meat/Vega.Rcheck/00check.log'
for details.


Installation output

Vega.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.11/bioc/src/contrib/Vega_1.36.0.tar.gz && rm -rf Vega.buildbin-libdir && mkdir Vega.buildbin-libdir && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=Vega.buildbin-libdir Vega_1.36.0.tar.gz && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL Vega_1.36.0.zip && rm Vega_1.36.0.tar.gz Vega_1.36.0.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  220k  100  220k    0     0   251k      0 --:--:-- --:--:-- --:--:--  255k

install for i386

* installing *source* package 'Vega' ...
** using staged installation
** libs
"C:/rtools40/mingw32/bin/"gcc  -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c vega.c -o vega.o
vega.c: In function 'heap_delete':
vega.c:201:8: warning: variable 'deleted' set but not used [-Wunused-but-set-variable]
   node deleted;
        ^~~~~~~
vega.c: In function 'vega':
vega.c:355:13: warning: unused variable 'maxptr' [-Wunused-variable]
  node max, *maxptr, tmp_node;
             ^~~~~~
vega.c:348:68: warning: unused variable 'tmp_lambda2' [-Wunused-variable]
  double lambda, lambda_gradient, stop_lambda_gradient, tmp_lambda, tmp_lambda2;
                                                                    ^~~~~~~~~~~
vega.c:347:6: warning: unused variable 'index' [-Wunused-variable]
  int index;
      ^~~~~
vega.c: In function 'update_priority':
vega.c:560:64: warning: unused variable 'next_mean' [-Wunused-variable]
  double lambda, first_term, second_term, prev_mean, curr_mean, next_mean;
                                                                ^~~~~~~~~
C:/rtools40/mingw32/bin/gcc -shared -s -static-libgcc -o Vega.dll tmp.def vega.o -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/Vega.buildbin-libdir/00LOCK-Vega/00new/Vega/libs/i386
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'Vega'
    finding HTML links ... done
    G519                                    html  
    Vega-package                            html  
    plotSegmentation                        html  
    vega                                    html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning: Package 'Vega' is deprecated and will be removed from Bioconductor
  version 3.12
** testing if installed package can be loaded from final location
Warning: Package 'Vega' is deprecated and will be removed from Bioconductor
  version 3.12
** testing if installed package keeps a record of temporary installation path

install for x64

* installing *source* package 'Vega' ...
** libs
"C:/rtools40/mingw64/bin/"gcc  -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c vega.c -o vega.o
vega.c: In function 'heap_delete':
vega.c:201:8: warning: variable 'deleted' set but not used [-Wunused-but-set-variable]
   node deleted;
        ^~~~~~~
vega.c: In function 'vega':
vega.c:355:13: warning: unused variable 'maxptr' [-Wunused-variable]
  node max, *maxptr, tmp_node;
             ^~~~~~
vega.c:348:68: warning: unused variable 'tmp_lambda2' [-Wunused-variable]
  double lambda, lambda_gradient, stop_lambda_gradient, tmp_lambda, tmp_lambda2;
                                                                    ^~~~~~~~~~~
vega.c:347:6: warning: unused variable 'index' [-Wunused-variable]
  int index;
      ^~~~~
vega.c: In function 'update_priority':
vega.c:560:64: warning: unused variable 'next_mean' [-Wunused-variable]
  double lambda, first_term, second_term, prev_mean, curr_mean, next_mean;
                                                                ^~~~~~~~~
C:/rtools40/mingw64/bin/gcc -shared -s -static-libgcc -o Vega.dll tmp.def vega.o -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/Vega.buildbin-libdir/Vega/libs/x64
** testing if installed package can be loaded
Warning: Package 'Vega' is deprecated and will be removed from Bioconductor
  version 3.12
* MD5 sums
packaged installation of 'Vega' as Vega_1.36.0.zip
* DONE (Vega)
* installing to library 'C:/Users/biocbuild/bbs-3.11-bioc/R/library'
package 'Vega' successfully unpacked and MD5 sums checked

Tests output


Example timings

Vega.Rcheck/examples_i386/Vega-Ex.timings

nameusersystemelapsed
Vega-package0.370.020.39

Vega.Rcheck/examples_x64/Vega-Ex.timings

nameusersystemelapsed
Vega-package0.220.040.36