CRAN Package Check Results for Package TempleMetrics

Last updated on 2020-02-19 03:49:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 2.46 22.82 25.28 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 2.03 18.20 20.23 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 33.12 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.0 32.03 ERROR
r-devel-windows-ix86+x86_64 1.2.0 6.00 33.00 39.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.2.0 12.00 50.00 62.00 OK
r-patched-linux-x86_64 1.2.0 2.03 19.78 21.81 OK
r-patched-solaris-x86 1.2.0 43.10 OK
r-release-linux-x86_64 1.2.0 2.10 19.79 21.89 OK
r-release-windows-ix86+x86_64 1.2.0 5.00 33.00 38.00 OK
r-release-osx-x86_64 1.2.0 OK
r-oldrel-windows-ix86+x86_64 1.2.0 3.00 36.00 39.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: 0x248dcc8>
    <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: 0x55f3dedc3c78>
    <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: 0x1c31b70>
    <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: 0x142dae8>
    <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