CRAN Package Check Results for Package lavaSearch2

Last updated on 2024-11-23 00:49:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 45.76 257.64 303.40 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 31.25 163.40 194.65 OK
r-devel-linux-x86_64-fedora-clang 2.0.3 525.46 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 421.59 ERROR
r-devel-windows-x86_64 2.0.3 54.00 265.00 319.00 OK
r-patched-linux-x86_64 2.0.3 47.06 246.14 293.20 OK
r-release-linux-x86_64 2.0.3 44.40 241.11 285.51 OK
r-release-macos-arm64 2.0.3 114.00 OK
r-release-macos-x86_64 2.0.3 196.00 OK
r-release-windows-x86_64 2.0.3 53.00 266.00 319.00 OK
r-oldrel-macos-arm64 2.0.3 125.00 OK
r-oldrel-macos-x86_64 2.0.3 286.00 OK
r-oldrel-windows-x86_64 2.0.3 63.00 336.00 399.00 OK

Check Details

Version: 2.0.3
Check: examples
Result: ERROR Running examples in ‘lavaSearch2-Ex.R’ failed The error most likely occurred in: > ### Name: coef2 > ### Title: Model Coefficients With Small Sample Correction > ### Aliases: coef2 coef2.lvmfit > ### Keywords: smallSampleCorrection > > ### ** Examples > > #### simulate data #### > set.seed(10) > dW <- sampleRepeated(10, format = "wide") Error in cbind(idxM, pidxM) : cannot get data pointer of 'NULL' objects Calls: sampleRepeated ... exogenous<- -> exogenous<-.lvm -> reindex -> mat.lvm -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘test-all.R’ [116s/143s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > #library(lavaSearch2) > suppressPackageStartupMessages(library("testthat")) > suppressPackageStartupMessages(library("nlme")) > suppressPackageStartupMessages(library("multcomp")) > suppressPackageStartupMessages(library("Matrix")) > test_check("lavaSearch2") Loading required package: lavaSearch2 Loading required package: ggplot2 Loading required package: lava Attaching package: 'lava' The following object is masked from 'package:ggplot2': vars The following object is masked from 'package:testthat': compare lavaSearch2 version 2.0.3 - simulation - multiple linear regression - mixed model - factor model - two factor model [ FAIL 8 | WARN 0 | SKIP 0 | PASS 228 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coefType.R:140:1'): (code run outside of `test_that()`) ──────── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. └─lava::lvm(Y1 ~ 1) at test-coefType.R:140:1 2. ├─lava::`regression<-`(`*tmp*`, messages = messages, value = myvar) 3. └─lava:::`regression<-.lvm`(`*tmp*`, messages = messages, value = myvar) 4. └─lava::procformula(object, value, ...) 5. ├─lava::`intercept<-`(`*tmp*`, ys, value = char2num(xs[intpos[1]])) 6. └─lava:::`intercept<-.lvm`(`*tmp*`, ys, value = char2num(xs[intpos[1]])) 7. └─lava::reindex(object) 8. └─lava:::mat.lvm(x, res) 9. └─base::cbind(idxM, pidxM) ── Error ('test-previousBug.R:51:1'): (code run outside of `test_that()`) ────── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. └─lava::lvm(G1 ~ 1, G2 ~ 1) at test-previousBug.R:51:1 2. ├─lava::`regression<-`(`*tmp*`, messages = messages, value = myvar) 3. └─lava:::`regression<-.lvm`(`*tmp*`, messages = messages, value = myvar) 4. └─lava::procformula(object, value, ...) 5. ├─lava::`intercept<-`(`*tmp*`, ys, value = char2num(xs[intpos[1]])) 6. └─lava:::`intercept<-.lvm`(`*tmp*`, ys, value = char2num(xs[intpos[1]])) 7. └─lava::reindex(object) 8. └─lava:::mat.lvm(x, res) 9. └─base::cbind(idxM, pidxM) ── Error ('test1-sCorrect-missingValues.R:115:5'): full information (issue lava) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. ├─lava::estimate(m, data = dNA.wide, missing = TRUE) at test1-sCorrect-missingValues.R:115:5 2. └─lava:::estimate.lvm(m, data = dNA.wide, missing = TRUE) 3. └─lava:::estimate.MAR(...) 4. ├─base::subset(Model(x), exogenous(x)) 5. └─lava:::subset.lvm(Model(x), exogenous(x)) 6. └─lava::lvm(vars) 7. ├─lava::addvar(res, myvar, messages = messages) 8. └─lava:::addvar.lvm(res, myvar, messages = messages) 9. └─lava::reindex(x) 10. └─lava:::mat.lvm(x, res) 11. └─base::cbind(idxM, pidxM) ── Error ('test1-sCorrect-missingValues.R:132:1'): (code run outside of `test_that()`) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. ├─lava::estimate(m, dNA.wide, missing = TRUE) at test1-sCorrect-missingValues.R:132:1 2. └─lava:::estimate.lvm(m, dNA.wide, missing = TRUE) 3. └─lava:::estimate.MAR(...) 4. ├─base::subset(Model(x), exogenous(x)) 5. └─lava:::subset.lvm(Model(x), exogenous(x)) 6. └─lava::lvm(vars) 7. ├─lava::addvar(res, myvar, messages = messages) 8. └─lava:::addvar.lvm(res, myvar, messages = messages) 9. └─lava::reindex(x) 10. └─lava:::mat.lvm(x, res) 11. └─base::cbind(idxM, pidxM) ── Error ('test1a-sCorrect-validObjects.R:46:1'): (code run outside of `test_that()`) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. ├─lava::estimate(lvm(G ~ X1), data = d) at test1a-sCorrect-validObjects.R:46:1 2. └─lava:::estimate.lvm(lvm(G ~ X1), data = d) 3. ├─base::do.call(...) 4. └─lava:::ordinal_estimate_hook(...) 5. ├─lava::`ordinal<-`(`*tmp*`, K = nlevels(y), value = i) 6. └─lava:::`ordinal<-.lvm`(`*tmp*`, K = nlevels(y), value = i) 7. ├─lava::ordinal(x, value, ...) 8. └─lava:::ordinal.lvm(x, value, ...) 9. ├─lava::`intfix<-`(`*tmp*`, var[i], NULL, value = 0) 10. └─lava:::`intfix<-.lvm`(`*tmp*`, var[i], NULL, value = 0) 11. ├─lava::`intercept<-`(`*tmp*`, ..., value = value) 12. └─lava:::`intercept<-.lvm`(`*tmp*`, ..., value = value) 13. └─lava::reindex(object) 14. └─lava:::mat.lvm(x, res) 15. └─base::cbind(idxM, pidxM) ── Error ('test1c-sCorrect-ssc.R:223:1'): (code run outside of `test_that()`) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. └─lava::lvm(...) at test1c-sCorrect-ssc.R:223:1 2. ├─lava::`regression<-`(`*tmp*`, messages = messages, value = myvar) 3. └─lava:::`regression<-.lvm`(`*tmp*`, messages = messages, value = myvar) 4. └─lava::procformula(object, value, ...) 5. ├─lava::`intercept<-`(...) 6. └─lava:::`intercept<-.lvm`(...) 7. └─lava::reindex(object) 8. └─lava:::mat.lvm(x, res) 9. └─base::cbind(idxM, pidxM) ── Error ('test1d-sCorrect-residuals2.R:117:1'): (code run outside of `test_that()`) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. └─lava::lvm(...) at test1d-sCorrect-residuals2.R:117:1 2. ├─lava::`regression<-`(`*tmp*`, messages = messages, value = myvar) 3. └─lava:::`regression<-.lvm`(`*tmp*`, messages = messages, value = myvar) 4. └─lava::procformula(object, value, ...) 5. ├─lava::`intercept<-`(...) 6. └─lava:::`intercept<-.lvm`(...) 7. └─lava::reindex(object) 8. └─lava:::mat.lvm(x, res) 9. └─base::cbind(idxM, pidxM) ── Error ('test1d-sCorrect-summary2.R:103:1'): (code run outside of `test_that()`) ── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. ├─lava::estimate(lvm(Y1[0:2] ~ X1 + 1 * X2), data = d) at test1d-sCorrect-summary2.R:103:1 2. └─lava::lvm(Y1[0:2] ~ X1 + 1 * X2) 3. ├─lava::`regression<-`(`*tmp*`, messages = messages, value = myvar) 4. └─lava:::`regression<-.lvm`(`*tmp*`, messages = messages, value = myvar) 5. └─lava::procformula(object, value, ...) 6. ├─lava::`intercept<-`(...) 7. └─lava:::`intercept<-.lvm`(...) 8. └─lava::reindex(object) 9. └─lava:::mat.lvm(x, res) 10. └─base::cbind(idxM, pidxM) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 228 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc