CRAN Package Check Results for Package matrixTests

Last updated on 2025-03-10 04:53:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 4.80 159.29 164.09 OK
r-devel-linux-x86_64-debian-gcc 0.2.3 2.39 105.47 107.86 OK
r-devel-linux-x86_64-fedora-clang 0.2.3 261.11 OK
r-devel-linux-x86_64-fedora-gcc 0.2.3 284.42 OK
r-devel-macos-arm64 0.2.3 64.00 OK
r-devel-macos-x86_64 0.2.3 68.00 ERROR
r-devel-windows-x86_64 0.2.3 6.00 158.00 164.00 OK
r-patched-linux-x86_64 0.2.3 4.16 151.13 155.29 OK
r-release-linux-x86_64 0.2.3 3.71 151.92 155.63 OK
r-release-macos-arm64 0.2.3 65.00 OK
r-release-macos-x86_64 0.2.3 144.00 OK
r-release-windows-x86_64 0.2.3 5.00 157.00 162.00 OK
r-oldrel-macos-arm64 0.2.3 OK
r-oldrel-macos-x86_64 0.2.3 244.00 OK
r-oldrel-windows-x86_64 0.2.3 6.00 212.00 218.00 OK

Check Details

Version: 0.2.3
Check: tests
Result: ERROR Running ‘andersondarling_behaviour.r’ [0s/0s] Running ‘andersondarling_correctness.r’ [1s/1s] Running ‘andersondarling_errors.r’ [0s/0s] Running ‘andersondarling_warnings.r’ [0s/0s] Running ‘bartlett_behaviour.r’ [0s/0s] Running ‘bartlett_correctness.r’ [2s/4s] Running ‘bartlett_errors.r’ [0s/0s] Running ‘bartlett_warnings.r’ [0s/0s] Running ‘brownforsythe_behaviour.r’ [0s/0s] Running ‘brownforsythe_correctness.r’ [7s/13s] Running ‘brownforsythe_errors.r’ [0s/0s] Running ‘brownforsythe_warnings.r’ [0s/0s] Running ‘cor_pearson_behaviour.r’ [0s/0s] Running ‘cor_pearson_correctness.r’ [1s/1s] Running ‘cor_pearson_errors.r’ [0s/0s] Running ‘cor_pearson_warnings.r’ [0s/0s] Running ‘cosinor_behaviour.r’ [0s/0s] Running ‘cosinor_correctness.r’ [1s/2s] Running the tests in ‘tests/cosinor_correctness.r’ failed. Complete output: > library(matrixTests) > > #--- functions ----------------------------------------------------------------- > > cosinor_cosinor <- function(mat, time, per) { + stopifnot(ncol(mat) == length(time)) + if(is.vector(mat)) mat <- matrix(mat, nrow=1) + n <- m <- amp <- acr <- dfm <- dfr <- rsq <- f <- p <- numeric(nrow(mat)) + + for(i in 1:nrow(mat)) { + dat <- data.frame(x=mat[i,], t=time) + dat <- dat[!is.na(dat$x) & !is.na(dat$t),] + res <- cosinor::cosinor.lm(x ~ time(t), data=dat, period=per) + + n[i] <- nrow(dat) + m[i] <- res$coefficients[1] + amp[i] <- res$coefficients[2] + acr[i] <- abs(cosinor2::correct.acrophase(res) / pi * (per/2)) + dfm[i] <- cosinor2::cosinor.detect(res)[2] + dfr[i] <- cosinor2::cosinor.detect(res)[3] + rsq[i] <- cosinor2::cosinor.PR(res)[[2]] + f[i] <- cosinor2::cosinor.detect(res)[1] + p[i] <- cosinor2::cosinor.detect(res)[4] + } + + data.frame(obs=n, mesor=m, amplitude=amp, acrophase=acr, rsquared=rsq, + df.model=dfm, df.residual=dfr, statistic=f, + pvalue=p, period=per + ) + } > > > #--- montecarlo ---------------------------------------------------------------- > > # equally spaced 10 time points, period = 10 > X <- matrix(rnorm(10000), ncol=10) > t <- -5:4 > res1 <- cosinor_cosinor(X, t, 10) Error in loadNamespace(x) : there is no package called 'cosinor2' Calls: cosinor_cosinor ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.