Back to Multiple platform build/check report for BioC 3.11
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

CHECK report for MaxContrastProjection on tokay2

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

TO THE DEVELOPERS/MAINTAINERS OF THE MaxContrastProjection PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 999/1905HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
MaxContrastProjection 1.12.0
Jan Sauer
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020)
URL: https://git.bioconductor.org/packages/MaxContrastProjection
Branch: RELEASE_3_11
Last Commit: 46c0a84
Last Changed Date: 2020-04-27 15:06:08 -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 ] OK 
machv2 macOS 10.14.6 Mojave / x86_64  OK  OK  ERROR  OK 

Summary

Package: MaxContrastProjection
Version: 1.12.0
Command: C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:MaxContrastProjection.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings MaxContrastProjection_1.12.0.tar.gz
StartedAt: 2020-10-17 05:41:47 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 05:42:47 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 59.4 seconds
RetCode: 1
Status:  ERROR  
CheckDir: MaxContrastProjection.Rcheck
Warnings: NA

Command output

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


* using log directory 'C:/Users/biocbuild/bbs-3.11-bioc/meat/MaxContrastProjection.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 'MaxContrastProjection/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'MaxContrastProjection' version '1.12.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 'MaxContrastProjection' can be installed ... WARNING
Found the following significant warnings:
  Warning: Package 'MaxContrastProjection' is deprecated and will be removed from
See 'C:/Users/biocbuild/bbs-3.11-bioc/meat/MaxContrastProjection.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 ... 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 data for ASCII and uncompressed saves ... OK
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'MaxContrastProjection-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: MaxContrastProjection
> ### Title: MaxContrastProjection: A package for performing z-projections of
> ###   image stacks
> ### Aliases: MaxContrastProjection MaxContrastProjection-package
> 
> ### ** Examples
> 
> data(cells)
> proj = contrastProjection(imageStack = cells, w_x = 15, smoothing = 5)
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
MaxContrastProjection
 --- call from context --- 
FUN(X[[i]], ...)
 --- call from argument --- 
if (class(image) == "Image") image = imageData(image)
 --- R stacktrace ---
where 1: FUN(X[[i]], ...)
where 2: lapply(img_frames, calcContrast, w_x, w_y, brushShape)
where 3: getContrastStack(imageStack = imageStack, w_x = w_x, w_y = w_y, 
    brushShape = brushShape, validate = FALSE)
where 4: contrastProjection(imageStack = cells, w_x = 15, smoothing = 5)

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (image, w_x, w_y, brushShape = "disc", validate = TRUE) 
{
    if (missing(image)) 
        stop("'image' is missing")
    if (missing(w_x)) 
        stop("'w_x' is missing")
    if (missing(w_y)) 
        stop("'w_y' is missing")
    if (class(image) == "Image") 
        image = imageData(image)
    if (validate) 
        valid = validateVariables(image = image, w_x = w_x, w_y = w_y, 
            brushShape = brushShape)
    f = NULL
    if (brushShape == "box") 
        f = matrix(1/((2 * w_x + 1) * (2 * w_y + 1)), nrow = (2 * 
            w_y + 1), ncol = (2 * w_x + 1))
    if (brushShape == "disc") {
        f = makeBrush(size = 2 * w_x + 1, shape = "disc", step = TRUE)
        f = f/sum(f)
    }
    imgSquared = image^2
    contrast = filter2(x = Image(imgSquared), filter = f, boundary = "replicate") - 
        filter2(x = Image(image), filter = f, boundary = "replicate")^2
    return(contrast)
}
<bytecode: 0x04271f00>
<environment: namespace:MaxContrastProjection>
 --- function search by body ---
Function calcContrast in namespace MaxContrastProjection has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1

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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: MaxContrastProjection
> ### Title: MaxContrastProjection: A package for performing z-projections of
> ###   image stacks
> ### Aliases: MaxContrastProjection MaxContrastProjection-package
> 
> ### ** Examples
> 
> data(cells)
> proj = contrastProjection(imageStack = cells, w_x = 15, smoothing = 5)
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
MaxContrastProjection
 --- call from context --- 
FUN(X[[i]], ...)
 --- call from argument --- 
if (class(image) == "Image") image = imageData(image)
 --- R stacktrace ---
where 1: FUN(X[[i]], ...)
where 2: lapply(img_frames, calcContrast, w_x, w_y, brushShape)
where 3: getContrastStack(imageStack = imageStack, w_x = w_x, w_y = w_y, 
    brushShape = brushShape, validate = FALSE)
where 4: contrastProjection(imageStack = cells, w_x = 15, smoothing = 5)

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (image, w_x, w_y, brushShape = "disc", validate = TRUE) 
{
    if (missing(image)) 
        stop("'image' is missing")
    if (missing(w_x)) 
        stop("'w_x' is missing")
    if (missing(w_y)) 
        stop("'w_y' is missing")
    if (class(image) == "Image") 
        image = imageData(image)
    if (validate) 
        valid = validateVariables(image = image, w_x = w_x, w_y = w_y, 
            brushShape = brushShape)
    f = NULL
    if (brushShape == "box") 
        f = matrix(1/((2 * w_x + 1) * (2 * w_y + 1)), nrow = (2 * 
            w_y + 1), ncol = (2 * w_x + 1))
    if (brushShape == "disc") {
        f = makeBrush(size = 2 * w_x + 1, shape = "disc", step = TRUE)
        f = f/sum(f)
    }
    imgSquared = image^2
    contrast = filter2(x = Image(imgSquared), filter = f, boundary = "replicate") - 
        filter2(x = Image(image), filter = f, boundary = "replicate")^2
    return(contrast)
}
<bytecode: 0x000000000874fa70>
<environment: namespace:MaxContrastProjection>
 --- function search by body ---
Function calcContrast in namespace MaxContrastProjection 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
See
  'C:/Users/biocbuild/bbs-3.11-bioc/meat/MaxContrastProjection.Rcheck/00check.log'
for details.


Installation output

MaxContrastProjection.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.11/bioc/src/contrib/MaxContrastProjection_1.12.0.tar.gz && rm -rf MaxContrastProjection.buildbin-libdir && mkdir MaxContrastProjection.buildbin-libdir && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=MaxContrastProjection.buildbin-libdir MaxContrastProjection_1.12.0.tar.gz && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL MaxContrastProjection_1.12.0.zip && rm MaxContrastProjection_1.12.0.tar.gz MaxContrastProjection_1.12.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
100 1435k  100 1435k    0     0  18.3M      0 --:--:-- --:--:-- --:--:-- 20.6M

install for i386

* installing *source* package 'MaxContrastProjection' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'MaxContrastProjection'
    finding HTML links ... done
    MaxContrastProjection                   html  
    calcContrast                            html  
    cells                                   html  
    contrastProjection                      html  
    fixGaussianBlur                         html  
    intensityProjection                     html  
    validateVariables                       html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning: Package 'MaxContrastProjection' is deprecated and will be removed from
  Bioconductor version 3.12
** testing if installed package can be loaded from final location
Warning: Package 'MaxContrastProjection' 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 'MaxContrastProjection' ...
** testing if installed package can be loaded
Warning: Package 'MaxContrastProjection' is deprecated and will be removed from
  Bioconductor version 3.12
* MD5 sums
packaged installation of 'MaxContrastProjection' as MaxContrastProjection_1.12.0.zip
* DONE (MaxContrastProjection)
* installing to library 'C:/Users/biocbuild/bbs-3.11-bioc/R/library'
package 'MaxContrastProjection' successfully unpacked and MD5 sums checked

Tests output


Example timings

MaxContrastProjection.Rcheck/examples_i386/MaxContrastProjection-Ex.timings

nameusersystemelapsed

MaxContrastProjection.Rcheck/examples_x64/MaxContrastProjection-Ex.timings

nameusersystemelapsed