CRAN Package Check Results for Package sampSurf

Last updated on 2019-12-11 22:51:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7-4 28.96 153.65 182.61 ERROR
r-devel-linux-x86_64-debian-gcc 0.7-4 24.55 133.46 158.01 OK
r-devel-linux-x86_64-fedora-clang 0.7-4 238.35 OK
r-devel-linux-x86_64-fedora-gcc 0.7-4 246.86 OK
r-devel-windows-ix86+x86_64 0.7-4 44.00 236.00 280.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.7-4 52.00 251.00 303.00 OK
r-patched-linux-x86_64 0.7-4 25.31 154.03 179.34 OK
r-patched-solaris-x86 0.7-4 268.10 OK
r-release-linux-x86_64 0.7-4 25.13 156.20 181.33 OK
r-release-windows-ix86+x86_64 0.7-4 40.00 169.00 209.00 OK
r-release-osx-x86_64 0.7-4 OK
r-oldrel-windows-ix86+x86_64 0.7-4 26.00 143.00 169.00 OK
r-oldrel-osx-x86_64 0.7-4 OK

Check Details

Version: 0.7-4
Check: examples
Result: ERROR
    Running examples in 'sampSurf-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: antitheticContainer
    > ### Title: Generate Objects of Class "'antitheticContainer'"
    > ### Aliases: antitheticContainer
    >
    > ### ** Examples
    >
    > sTrees = standingTrees(5, startSeed = 12)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    sampSurf
     --- call from context ---
    validityMethod(as(object, superClass))
     --- call from argument ---
    if (!class(object@bbox) == "matrix") return("bbox slot must be a 2x2 matrix")
     --- R stacktrace ---
    where 1: validityMethod(as(object, superClass))
    where 2: isTRUE(x)
    where 3: anyStrings(validityMethod(as(object, superClass)))
    where 4: validObject(.Object)
    where 5: initialize(value, ...)
    where 6: initialize(value, ...)
    where 7: new("standingTrees", trees = trees, bbox = bbox, units = trees[[1]]@units,
     stats = stats, description = description)
    where 8: .local(object, ...)
    where 9: standingTrees(stl, units = units, ...)
    where 10: standingTrees(stl, units = units, ...)
    where 11: .local(object, ...)
    where 12: standingTrees(strees, units = units, ...)
    where 13: standingTrees(strees, units = units, ...)
    where 14: .local(object, container, ...)
    where 15: standingTrees(numTrees, sampleRect, units = units, ...)
    where 16: standingTrees(numTrees, sampleRect, units = units, ...)
    where 17: .local(object, ...)
    where 18: standingTrees(5, startSeed = 12)
    where 19: standingTrees(5, startSeed = 12)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (object)
    {
     if (!(object@units %in% .StemEnv$msrUnits))
     return("units of measure must be \"English\" or \"metric\"")
     if (!class(object@bbox) == "matrix")
     return("bbox slot must be a 2x2 matrix")
     bboxNames = match(rownames(object@bbox), c("x", "y"))
     if (any(is.na(bboxNames)))
     return("slot bbox rownames must be \"x\", \"y\"!")
     bboxNames = match(colnames(object@bbox), c("min", "max"))
     if (any(is.na(bboxNames)))
     return("slot bbox colnames must be \"min\", \"max\"!")
     return(TRUE)
    }
    <bytecode: 0x393e138>
    <environment: namespace:sampSurf>
     --- function search by body ---
     ----------- END OF FAILURE REPORT --------------
    Error in if (!class(object@bbox) == "matrix") return("bbox slot must be a 2x2 matrix") :
     the condition has length > 1
    Calls: standingTrees ... validObject -> anyStrings -> isTRUE -> validityMethod
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang