CRAN Package Check Results for Package TempleMetrics

Last updated on 2020-03-07 11:48:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 2.60 22.53 25.13 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 1.91 18.31 20.22 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 32.12 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.0 30.06 ERROR
r-devel-windows-ix86+x86_64 1.2.0 11.00 41.00 52.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.2.0 6.00 35.00 41.00 OK
r-patched-linux-x86_64 1.2.0 1.79 20.11 21.90 OK
r-patched-solaris-x86 1.2.0 44.50 OK
r-release-linux-x86_64 1.2.0 1.92 20.11 22.03 OK
r-release-windows-ix86+x86_64 1.2.0 4.00 34.00 38.00 OK
r-release-osx-x86_64 1.2.0 OK
r-oldrel-windows-ix86+x86_64 1.2.0 4.00 34.00 38.00 OK
r-oldrel-osx-x86_64 1.2.0 OK

Check Details

Version: 1.2.0
Check: examples
Result: ERROR
    Running examples in 'TempleMetrics-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Fycondx.DR
    > ### Title: Fycondx.DR
    > ### Aliases: Fycondx.DR
    >
    > ### ** Examples
    >
    > data(igm)
    > yvals <- seq(quantile(igm$lcfincome,.05,type=1),
    + quantile(igm$lcfincome,.95, type=1), length.out=100)
    > dres <- distreg(lcfincome ~ lfincome + HEDUC, igm, yvals)
    > xdf <- data.frame(lfincome=10, HEDUC=c("LessHS","HS"))
    > d <- Fycondx(dres, yvals, xdf)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    TempleMetrics
     --- call from context ---
    Fycondx.DR(dres, yvals, xdf)
     --- call from argument ---
    if (class(predmat) == "numeric") {
     predmat <- t(predmat)
    }
     --- R stacktrace ---
    where 1: Fycondx.DR(dres, yvals, xdf)
    where 2: Fycondx(dres, yvals, xdf)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (object, yvals, xdf)
    {
     drobj <- object
     yvals <- drobj$yvals
     glmlist <- drobj$glmlist
     predmat <- sapply(glmlist, function(g) {
     predict(g, newdata = xdf, type = "response")
     })
     if (class(predmat) == "numeric") {
     predmat <- t(predmat)
     }
     out <- lapply(1:nrow(predmat), function(i) {
     makeDist(yvals, predmat[i, ], rearrange = TRUE)
     })
     out
    }
    <bytecode: 0xaaec28>
    <environment: namespace:TempleMetrics>
     --- function search by body ---
    Function Fycondx.DR in namespace TempleMetrics has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(predmat) == "numeric") { :
     the condition has length > 1
    Calls: Fycondx -> Fycondx.DR
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.0
Check: examples
Result: ERROR
    Running examples in ‘TempleMetrics-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Fycondx.DR
    > ### Title: Fycondx.DR
    > ### Aliases: Fycondx.DR
    >
    > ### ** Examples
    >
    > data(igm)
    > yvals <- seq(quantile(igm$lcfincome,.05,type=1),
    + quantile(igm$lcfincome,.95, type=1), length.out=100)
    > dres <- distreg(lcfincome ~ lfincome + HEDUC, igm, yvals)
    > xdf <- data.frame(lfincome=10, HEDUC=c("LessHS","HS"))
    > d <- Fycondx(dres, yvals, xdf)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    TempleMetrics
     --- call from context ---
    Fycondx.DR(dres, yvals, xdf)
     --- call from argument ---
    if (class(predmat) == "numeric") {
     predmat <- t(predmat)
    }
     --- R stacktrace ---
    where 1: Fycondx.DR(dres, yvals, xdf)
    where 2: Fycondx(dres, yvals, xdf)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (object, yvals, xdf)
    {
     drobj <- object
     yvals <- drobj$yvals
     glmlist <- drobj$glmlist
     predmat <- sapply(glmlist, function(g) {
     predict(g, newdata = xdf, type = "response")
     })
     if (class(predmat) == "numeric") {
     predmat <- t(predmat)
     }
     out <- lapply(1:nrow(predmat), function(i) {
     makeDist(yvals, predmat[i, ], rearrange = TRUE)
     })
     out
    }
    <bytecode: 0x5639d264fad8>
    <environment: namespace:TempleMetrics>
     --- function search by body ---
    Function Fycondx.DR in namespace TempleMetrics has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(predmat) == "numeric") { :
     the condition has length > 1
    Calls: Fycondx -> Fycondx.DR
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.0
Check: examples
Result: ERROR
    Running examples in ‘TempleMetrics-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Fycondx.DR
    > ### Title: Fycondx.DR
    > ### Aliases: Fycondx.DR
    >
    > ### ** Examples
    >
    > data(igm)
    > yvals <- seq(quantile(igm$lcfincome,.05,type=1),
    + quantile(igm$lcfincome,.95, type=1), length.out=100)
    > dres <- distreg(lcfincome ~ lfincome + HEDUC, igm, yvals)
    > xdf <- data.frame(lfincome=10, HEDUC=c("LessHS","HS"))
    > d <- Fycondx(dres, yvals, xdf)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    TempleMetrics
     --- call from context ---
    Fycondx.DR(dres, yvals, xdf)
     --- call from argument ---
    if (class(predmat) == "numeric") {
     predmat <- t(predmat)
    }
     --- R stacktrace ---
    where 1: Fycondx.DR(dres, yvals, xdf)
    where 2: Fycondx(dres, yvals, xdf)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (object, yvals, xdf)
    {
     drobj <- object
     yvals <- drobj$yvals
     glmlist <- drobj$glmlist
     predmat <- sapply(glmlist, function(g) {
     predict(g, newdata = xdf, type = "response")
     })
     if (class(predmat) == "numeric") {
     predmat <- t(predmat)
     }
     out <- lapply(1:nrow(predmat), function(i) {
     makeDist(yvals, predmat[i, ], rearrange = TRUE)
     })
     out
    }
    <bytecode: 0x2729978>
    <environment: namespace:TempleMetrics>
     --- function search by body ---
    Function Fycondx.DR in namespace TempleMetrics has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(predmat) == "numeric") { :
     the condition has length > 1
    Calls: Fycondx -> Fycondx.DR
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.0
Check: examples
Result: ERROR
    Running examples in ‘TempleMetrics-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Fycondx.DR
    > ### Title: Fycondx.DR
    > ### Aliases: Fycondx.DR
    >
    > ### ** Examples
    >
    > data(igm)
    > yvals <- seq(quantile(igm$lcfincome,.05,type=1),
    + quantile(igm$lcfincome,.95, type=1), length.out=100)
    > dres <- distreg(lcfincome ~ lfincome + HEDUC, igm, yvals)
    > xdf <- data.frame(lfincome=10, HEDUC=c("LessHS","HS"))
    > d <- Fycondx(dres, yvals, xdf)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    TempleMetrics
     --- call from context ---
    Fycondx.DR(dres, yvals, xdf)
     --- call from argument ---
    if (class(predmat) == "numeric") {
     predmat <- t(predmat)
    }
     --- R stacktrace ---
    where 1: Fycondx.DR(dres, yvals, xdf)
    where 2: Fycondx(dres, yvals, xdf)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (object, yvals, xdf)
    {
     drobj <- object
     yvals <- drobj$yvals
     glmlist <- drobj$glmlist
     predmat <- sapply(glmlist, function(g) {
     predict(g, newdata = xdf, type = "response")
     })
     if (class(predmat) == "numeric") {
     predmat <- t(predmat)
     }
     out <- lapply(1:nrow(predmat), function(i) {
     makeDist(yvals, predmat[i, ], rearrange = TRUE)
     })
     out
    }
    <bytecode: 0x1867190>
    <environment: namespace:TempleMetrics>
     --- function search by body ---
    Function Fycondx.DR in namespace TempleMetrics has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(predmat) == "numeric") { :
     the condition has length > 1
    Calls: Fycondx -> Fycondx.DR
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc