This page was generated on 2020-10-17 11:57:59 -0400 (Sat, 17 Oct 2020).
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 | |
##############################################################################
##############################################################################
###
### 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.