CRAN Package Check Results for Package RTransProb

Last updated on 2018-05-20 20:48:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 40.66 70.96 111.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 33.99 55.96 89.95 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 143.96 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 136.97 OK
r-devel-windows-ix86+x86_64 0.2.0 90.00 108.00 198.00 OK
r-patched-linux-x86_64 0.2.0 41.44 61.52 102.96 ERROR
r-patched-solaris-x86 0.2.0 175.80 OK
r-release-linux-x86_64 0.2.0 43.36 60.62 103.98 ERROR
r-release-windows-ix86+x86_64 0.2.0 65.00 92.00 157.00 OK
r-release-osx-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 64.00 101.00 165.00 OK
r-oldrel-osx-x86_64 0.2.0 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘RTransProb-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: fromThresholds
    > ### Title: Convert credit quality thresholds to probabilities.
    > ### Aliases: fromThresholds
    >
    > ### ** Examples
    >
    >
    > rc <- c("AAA", "AA", "A", "BBB", "BB", "B", "CCC", "D")
    > t<- matrix(c(Inf,-1.3656,-2.1806,-3.0781,-3.5482,-4.1612,-4.2591,-4.8399,
    + Inf, 1.5712,-1.5217,-2.3028,-2.6872,-3.5256,-3.7324,-4.1972,
    + Inf, 2.6895, 1.3806,-1.2901,-2.3422,-2.8928,-3.0063,-3.7861,
    + Inf, 3.1004, 2.5623, 1.4479,-1.5211,-2.1407,-2.434, -3.2814,
    + Inf, 3.4339, 2.6156, 2.4434, 1.4561,-1.4573,-1.9742,-2.4668,
    + Inf, 2.5852, 2.5586, 2.4218, 2.268, 1.6737,-1.6194,-2.252,
    + Inf, 3.6953, 3.6362, 3.3406, 2.5019, 2.2394, 1.6263,-1.3853,
    + Inf, Inf, Inf, Inf, Inf, Inf, Inf, Inf
    + ), 8,8, dimnames = list(rc,rc), byrow=TRUE)
    >
    >
    > transmatrix <- fromThresholds(t)
    Error in if (!(thresh[, 1] %in% Inf)) { : the condition has length > 1
    Calls: fromThresholds
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64