CRAN Package Check Results for Package tcgsaseq

Last updated on 2021-05-27 12:54:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.5 6.90 75.99 82.89 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.5 5.88 55.65 61.53 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.5 111.65 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.5 101.44 ERROR
r-devel-windows-x86_64 2.0.5 12.00 77.00 89.00 OK
r-devel-windows-x86_64-gcc10-UCRT 2.0.5 OK
r-patched-linux-x86_64 2.0.5 6.83 74.22 81.05 OK
r-patched-solaris-x86 2.0.5 142.20 OK
r-release-linux-x86_64 2.0.5 6.67 75.71 82.38 OK
r-release-windows-ix86+x86_64 2.0.5 13.00 102.00 115.00 OK
r-oldrel-macos-x86_64 2.0.5 OK
r-oldrel-windows-ix86+x86_64 2.0.5 12.00 78.00 90.00 OK

Check Details

Version: 2.0.5
Check: examples
Result: ERROR
    Running examples in 'tcgsaseq-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: vc_score_h
    > ### Title: Computes variance component test statistic for homogeneous
    > ### trajectory
    > ### Aliases: vc_score_h
    > ### Keywords: internal
    >
    > ### ** Examples
    >
    > rm(list=ls())
    > set.seed(123)
    >
    > ##generate some fake data
    > ########################
    > ng <- 100
    > nindiv <- 30
    > nt <- 5
    > nsample <- nindiv*nt
    > tim <- matrix(rep(1:nt), nindiv, ncol=1, nrow=nsample)
    > tim <- cbind(tim, tim^2)
    > sigma <- 5
    > b0 <- 10
    >
    > #under the null:
    > beta1 <- rnorm(n=ng, 0, sd=0)
    > #under the (heterogen) alternative:
    > beta1 <- rnorm(n=ng, 0, sd=0.1)
    > #under the (homogen) alternative:
    > beta1 <- rnorm(n=ng, 0.06, sd=0)
    >
    > y.tilde <- b0 + rnorm(ng, sd = sigma)
    > y <- t(matrix(rep(y.tilde, nsample), ncol=ng, nrow=nsample, byrow=TRUE) +
    + matrix(rep(beta1, each=nsample), ncol=ng, nrow=nsample, byrow=FALSE)*matrix(rep(tim, ng),
    + ncol=ng, nrow=nsample, byrow=FALSE) +
    + matrix(rnorm(ng*nsample, sd = sigma), ncol=ng, nrow=nsample, byrow=FALSE)
    + )
    Error in matrix(rep(tim, ng), ncol = ng, nrow = nsample, byrow = FALSE) :
     data length differs from size of matrix: [30000 != 150 x 100]
    Calls: t -> matrix
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.5
Check: examples
Result: ERROR
    Running examples in ‘tcgsaseq-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: vc_score_h
    > ### Title: Computes variance component test statistic for homogeneous
    > ### trajectory
    > ### Aliases: vc_score_h
    > ### Keywords: internal
    >
    > ### ** Examples
    >
    > rm(list=ls())
    > set.seed(123)
    >
    > ##generate some fake data
    > ########################
    > ng <- 100
    > nindiv <- 30
    > nt <- 5
    > nsample <- nindiv*nt
    > tim <- matrix(rep(1:nt), nindiv, ncol=1, nrow=nsample)
    > tim <- cbind(tim, tim^2)
    > sigma <- 5
    > b0 <- 10
    >
    > #under the null:
    > beta1 <- rnorm(n=ng, 0, sd=0)
    > #under the (heterogen) alternative:
    > beta1 <- rnorm(n=ng, 0, sd=0.1)
    > #under the (homogen) alternative:
    > beta1 <- rnorm(n=ng, 0.06, sd=0)
    >
    > y.tilde <- b0 + rnorm(ng, sd = sigma)
    > y <- t(matrix(rep(y.tilde, nsample), ncol=ng, nrow=nsample, byrow=TRUE) +
    + matrix(rep(beta1, each=nsample), ncol=ng, nrow=nsample, byrow=FALSE)*matrix(rep(tim, ng),
    + ncol=ng, nrow=nsample, byrow=FALSE) +
    + matrix(rnorm(ng*nsample, sd = sigma), ncol=ng, nrow=nsample, byrow=FALSE)
    + )
    Error in matrix(rep(tim, ng), ncol = ng, nrow = nsample, byrow = FALSE) :
     data length differs from size of matrix: [30000 != 150 x 100]
    Calls: t -> matrix
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc