CRAN Package Check Results for Package ProTrackR

Last updated on 2019-11-26 00:52:04 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 15.88 75.39 91.27 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.6 12.11 55.95 68.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.6 101.44 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.6 100.51 NOTE
r-devel-windows-ix86+x86_64 0.3.6 33.00 89.00 122.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.3.6 34.00 88.00 122.00 OK
r-patched-linux-x86_64 0.3.6 13.31 71.00 84.31 OK
r-patched-solaris-x86 0.3.6 123.20 OK
r-release-linux-x86_64 0.3.6 14.60 72.65 87.25 OK
r-release-windows-ix86+x86_64 0.3.6 41.00 107.00 148.00 OK
r-release-osx-x86_64 0.3.6 OK
r-oldrel-windows-ix86+x86_64 0.3.6 15.00 113.00 128.00 OK
r-oldrel-osx-x86_64 0.3.6 OK

Check Details

Version: 0.3.6
Check: examples
Result: ERROR
    Running examples in 'ProTrackR-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: pasteBlock
    > ### Title: Paste a block of PTCell data into a PTPattern
    > ### Aliases: pasteBlock pasteBlock,PTPattern,matrix,numeric,numeric-method
    >
    > ### ** Examples
    >
    > data("mod.intro")
    >
    > block <- PTBlock(PTPattern(mod.intro, 1), 1:16, 1)
    >
    > ## Do some operations using lapply (the effect
    > ## code is set to "C10"):
    > block <- matrix(lapply(block, function(x) {(effect(x) <- "C10"); x}),
    + nrow(block), ncol(block), byrow = TRUE)
    >
    > ## Paste block back on the same position:
    > PTPattern(mod.intro, 1) <-
    + pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    ProTrackR
     --- call from context ---
    .validity.PTBlock(block)
     --- call from argument ---
    if (class(object) != "matrix") stop("Not a valid PTBlock")
     --- R stacktrace ---
    where 1: .validity.PTBlock(block)
    where 2: .PTBlock.as.raw(block)
    where 3: pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
    where 4: pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (object)
    {
     if (class(object) != "matrix")
     stop("Not a valid PTBlock")
     if (typeof(object) != "list")
     stop("Not a valid PTBlock")
     if (any(unlist(lapply(object, class)) != "PTCell"))
     stop("Not a valid PTBlock")
     if (any(unlist(lapply(object, length)) != 1))
     stop("Not a valid PTBlock")
     if (any(!unlist(lapply(object, validObject))))
     stop("Not a valid PTBlock")
     return(T)
    }
    <bytecode: 0x446b0f0>
    <environment: namespace:ProTrackR>
     --- function search by body ---
    Function .validity.PTBlock in namespace ProTrackR has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.6
Check: examples
Result: ERROR
    Running examples in ‘ProTrackR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: pasteBlock
    > ### Title: Paste a block of PTCell data into a PTPattern
    > ### Aliases: pasteBlock pasteBlock,PTPattern,matrix,numeric,numeric-method
    >
    > ### ** Examples
    >
    > data("mod.intro")
    >
    > block <- PTBlock(PTPattern(mod.intro, 1), 1:16, 1)
    >
    > ## Do some operations using lapply (the effect
    > ## code is set to "C10"):
    > block <- matrix(lapply(block, function(x) {(effect(x) <- "C10"); x}),
    + nrow(block), ncol(block), byrow = TRUE)
    >
    > ## Paste block back on the same position:
    > PTPattern(mod.intro, 1) <-
    + pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    ProTrackR
     --- call from context ---
    .validity.PTBlock(block)
     --- call from argument ---
    if (class(object) != "matrix") stop("Not a valid PTBlock")
     --- R stacktrace ---
    where 1: .validity.PTBlock(block)
    where 2: .PTBlock.as.raw(block)
    where 3: pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
    where 4: pasteBlock(PTPattern(mod.intro, 1), block, 1, 1)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (object)
    {
     if (class(object) != "matrix")
     stop("Not a valid PTBlock")
     if (typeof(object) != "list")
     stop("Not a valid PTBlock")
     if (any(unlist(lapply(object, class)) != "PTCell"))
     stop("Not a valid PTBlock")
     if (any(unlist(lapply(object, length)) != 1))
     stop("Not a valid PTBlock")
     if (any(!unlist(lapply(object, validObject))))
     stop("Not a valid PTBlock")
     return(T)
    }
    <bytecode: 0x555c51620cc8>
    <environment: namespace:ProTrackR>
     --- function search by body ---
    Function .validity.PTBlock in namespace ProTrackR has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.6
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     ‘intro.mod’ ‘intro2.mod’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc