CRAN Package Check Results for Package IATscores

Last updated on 2019-12-05 00:51:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 11.59 102.37 113.96 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.3 10.19 77.96 88.15 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.3 123.10 OK
r-devel-linux-x86_64-fedora-gcc 0.2.3 120.54 OK
r-devel-windows-ix86+x86_64 0.2.3 25.00 106.00 131.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.3 31.00 108.00 139.00 OK
r-patched-linux-x86_64 0.2.3 9.82 85.37 95.19 OK
r-patched-solaris-x86 0.2.3 186.90 OK
r-release-linux-x86_64 0.2.3 12.01 92.33 104.34 OK
r-release-windows-ix86+x86_64 0.2.3 22.00 93.00 115.00 OK
r-release-osx-x86_64 0.2.3 OK
r-oldrel-windows-ix86+x86_64 0.2.3 13.00 107.00 120.00 OK
r-oldrel-osx-x86_64 0.2.3 OK

Check Details

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in 'IATscores-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Tgraph
    > ### Title: Layout 'qgraph' for multiple comparisons by package 'nparcomp'
    > ### Aliases: Tgraph
    > ### Keywords: multiple comparisons Tgraph
    >
    > ### ** Examples
    >
    > library(nparcomp)
    Loading required package: multcomp
    Loading required package: mvtnorm
    Loading required package: survival
    Loading required package: TH.data
    Loading required package: MASS
    
    Attaching package: 'TH.data'
    
    The following object is masked from 'package:MASS':
    
     geyser
    
    > library(qgraph)
    >
    > dat <- data.frame(matrix(nrow = 300, ncol = 0))
    >
    > dat$DV <- c(rnorm(100, 1, 1),
    + rnorm(100, 0, 1),
    + rnorm(100, 0, 1))
    >
    > dat$IV <- c(rep("A", 100),
    + rep("B", 100),
    + rep("D", 100))
    >
    > mcmp <- mctp(formula = DV~IV, data = dat, type = "Tukey")
    
     #----------------Nonparametric Multiple Comparisons for relative effects---------------#
    
     - Alternative Hypothesis: True differences of relative effects are not equal to 0
     - Estimation Method: Global Pseudo Ranks
     - Type of Contrast : Tukey
     - Confidence Level: 95 %
     - Method = Fisher with 198 DF
    
     #--------------------------------------------------------------------------------------#
    
    > tg <- Tgraph(mcmp)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    IATscores
     --- call from context ---
    transitive.reduction(amat)
     --- call from argument ---
    if (!(class(g) %in% c("matrix", "graphNEL"))) stop("Input must be an adjacency matrix or graphNEL object")
     --- R stacktrace ---
    where 1: transitive.reduction(amat)
    where 2: Tgraph(mcmp)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (g)
    {
     if (!(class(g) %in% c("matrix", "graphNEL")))
     stop("Input must be an adjacency matrix or graphNEL object")
     if (class(g) == "graphNEL") {
     g = as(g, "matrix")
     }
     g = transitive.closure(g, mat = TRUE)
     g = g - diag(diag(g))
     type = (g > 1) * 1 - (g < 0) * 1
     for (y in 1:nrow(g)) {
     for (x in 1:nrow(g)) {
     if (g[x, y] != 0) {
     for (j in 1:nrow(g)) {
     if ((g[y, j] != 0) & sign(type[x, j]) * sign(type[x,
     y]) * sign(type[y, j]) != -1) {
     g[x, j] = 0
     }
     }
     }
     }
     }
     g
    }
    <bytecode: 0x9c8b5b8>
    <environment: namespace:IATscores>
     --- function search by body ---
    Function transitive.reduction in namespace IATscores has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in ‘IATscores-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Tgraph
    > ### Title: Layout 'qgraph' for multiple comparisons by package 'nparcomp'
    > ### Aliases: Tgraph
    > ### Keywords: multiple comparisons Tgraph
    >
    > ### ** Examples
    >
    > library(nparcomp)
    Loading required package: multcomp
    Loading required package: mvtnorm
    Loading required package: survival
    Loading required package: TH.data
    Loading required package: MASS
    
    Attaching package: ‘TH.data’
    
    The following object is masked from ‘package:MASS’:
    
     geyser
    
    > library(qgraph)
    >
    > dat <- data.frame(matrix(nrow = 300, ncol = 0))
    >
    > dat$DV <- c(rnorm(100, 1, 1),
    + rnorm(100, 0, 1),
    + rnorm(100, 0, 1))
    >
    > dat$IV <- c(rep("A", 100),
    + rep("B", 100),
    + rep("D", 100))
    >
    > mcmp <- mctp(formula = DV~IV, data = dat, type = "Tukey")
    
     #----------------Nonparametric Multiple Comparisons for relative effects---------------#
    
     - Alternative Hypothesis: True differences of relative effects are not equal to 0
     - Estimation Method: Global Pseudo Ranks
     - Type of Contrast : Tukey
     - Confidence Level: 95 %
     - Method = Fisher with 198 DF
    
     #--------------------------------------------------------------------------------------#
    
    > tg <- Tgraph(mcmp)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    IATscores
     --- call from context ---
    transitive.reduction(amat)
     --- call from argument ---
    if (!(class(g) %in% c("matrix", "graphNEL"))) stop("Input must be an adjacency matrix or graphNEL object")
     --- R stacktrace ---
    where 1: transitive.reduction(amat)
    where 2: Tgraph(mcmp)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (g)
    {
     if (!(class(g) %in% c("matrix", "graphNEL")))
     stop("Input must be an adjacency matrix or graphNEL object")
     if (class(g) == "graphNEL") {
     g = as(g, "matrix")
     }
     g = transitive.closure(g, mat = TRUE)
     g = g - diag(diag(g))
     type = (g > 1) * 1 - (g < 0) * 1
     for (y in 1:nrow(g)) {
     for (x in 1:nrow(g)) {
     if (g[x, y] != 0) {
     for (j in 1:nrow(g)) {
     if ((g[y, j] != 0) & sign(type[x, j]) * sign(type[x,
     y]) * sign(type[y, j]) != -1) {
     g[x, j] = 0
     }
     }
     }
     }
     }
     g
    }
    <bytecode: 0x556a3262c7b8>
    <environment: namespace:IATscores>
     --- function search by body ---
    Function transitive.reduction in namespace IATscores has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-gcc