CRAN Package Check Results for Package ProTrackR

Last updated on 2020-01-27 00:48:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 18.01 75.56 93.57 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.6 13.28 58.15 71.43 NOTE
r-devel-linux-x86_64-fedora-clang 0.3.6 108.80 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.6 107.08 NOTE
r-devel-windows-ix86+x86_64 0.3.6 39.00 0.00 39.00 FAIL
r-devel-windows-ix86+x86_64-gcc8 0.3.6 42.00 124.00 166.00 OK
r-patched-linux-x86_64 0.3.6 13.30 66.28 79.58 OK
r-patched-solaris-x86 0.3.6 129.50 OK
r-release-linux-x86_64 0.3.6 12.47 67.70 80.17 OK
r-release-windows-ix86+x86_64 0.3.6 21.00 87.00 108.00 OK
r-release-osx-x86_64 0.3.6 OK
r-oldrel-windows-ix86+x86_64 0.3.6 17.00 73.00 90.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: 0x4815740>
    <environment: namespace:ProTrackR>
     --- function search by body ---
    Function .validity.PTBlock in namespace ProTrackR has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(object) != "matrix") stop("Not a valid PTBlock") :
     the condition has length > 1
    Calls: pasteBlock -> pasteBlock -> .PTBlock.as.raw -> .validity.PTBlock
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

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-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.3.6
Check: use of S3 registration
Result: FAIL
    Check process probably crashed or hung up for 20 minutes ... killed
    Most likely this happened in the example checks (?),
    if not, ignore the following last lines of example output:
    
    ======== End of example output (where/before crash/hang up occured ?) ========
Flavor: r-devel-windows-ix86+x86_64