CRAN Package Check Results for Package RTransProb

Last updated on 2018-06-01 08:49:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 38.29 65.82 104.11 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 34.34 56.67 91.01 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 147.91 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 138.10 OK
r-devel-windows-ix86+x86_64 0.2.0 90.00 152.00 242.00 OK
r-patched-linux-x86_64 0.2.0 38.27 60.67 98.94 ERROR
r-patched-solaris-x86 0.2.0 172.70 OK
r-release-linux-x86_64 0.2.0 36.80 60.33 97.13 ERROR
r-release-windows-ix86+x86_64 0.2.0 72.00 129.00 201.00 OK
r-release-osx-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 88.00 97.00 185.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