Last updated on 2024-03-28 07:52:45 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 8.70 | 135.11 | 143.81 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 8.56 | 102.63 | 111.19 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 163.15 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 77.24 | ERROR | |||
r-devel-windows-x86_64 | 1.0.0 | 11.00 | 113.00 | 124.00 | OK | |
r-patched-linux-x86_64 | 1.0.0 | 20.49 | 136.38 | 156.87 | OK | |
r-release-linux-x86_64 | 1.0.0 | 10.81 | 135.76 | 146.57 | OK | |
r-release-macos-arm64 | 1.0.0 | 61.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 85.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 13.00 | 138.00 | 151.00 | OK | |
r-oldrel-macos-arm64 | 1.0.0 | 53.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 13.00 | 142.00 | 155.00 | OK |
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘cgaim-Ex.R’ failed
The error most likely occurred in:
> ### Name: boot.cgaim
> ### Title: Boostrap CGAIM
> ### Aliases: boot.cgaim
>
> ### ** Examples
>
> # A simple CGAIM
> n <- 200
> x1 <- rnorm(n)
> x2 <- x1 + rnorm(n)
> z <- x1 + x2
> y <- z + rnorm(n)
> df1 <- data.frame(y, x1, x2)
> ans <- cgaim(y ~ g(x1, x2, acons = list(monotone = 1)), data = df1)
Use of the `newdata` argument is deprecated.
Instead, use the data argument `data`.
Error in dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label, :
number of items to replace is not a multiple of replacement length
Calls: cgaim -> do.call -> <Anonymous> -> do.call -> smooth_scam
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [30s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cgaim)
>
> test_check("cgaim")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic_models.R:29:1'): (code run outside of `test_that()`) ─────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(y ~ g(x1, x2), data = df1) at test-basic_models.R:29:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Error ('test-bootstrap.R:11:1'): (code run outside of `test_that()`) ────────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(y ~ g(x1, x2, acons = list(monotone = 1)), data = df1) at test-bootstrap.R:11:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Failure ('test-build_constraint.R:35:3'): Solution is feasible ──────────────
all((full2 %*% redres2$solution) >= -.Machine$double.eps) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-no_intercept.R:16:1'): (code run outside of `test_that()`) ─────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(...) at test-no_intercept.R:16:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Error ('test_updateAlpha.R:26:1'): (code run outside of `test_that()`) ──────
Error in `matrix(derivs[["derivative"]], ncol = 2)`: 'data' must be of a vector type, was 'NULL'
Backtrace:
▆
1. └─base::matrix(derivs[["derivative"]], ncol = 2) at test_updateAlpha.R:26:1
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cgaim)
>
> test_check("cgaim")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic_models.R:29:1'): (code run outside of `test_that()`) ─────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(y ~ g(x1, x2), data = df1) at test-basic_models.R:29:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Error ('test-bootstrap.R:11:1'): (code run outside of `test_that()`) ────────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(y ~ g(x1, x2, acons = list(monotone = 1)), data = df1) at test-bootstrap.R:11:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Failure ('test-build_constraint.R:35:3'): Solution is feasible ──────────────
all((full2 %*% redres2$solution) >= -.Machine$double.eps) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-no_intercept.R:16:1'): (code run outside of `test_that()`) ─────
Error in `dgx[, j] <- derivs[derivs$smooth == gfit$smooth[[jind]]$label,
"derivative"]`: number of items to replace is not a multiple of replacement length
Backtrace:
▆
1. └─cgaim::cgaim(...) at test-no_intercept.R:16:1
2. ├─base::do.call(cgaim.fit, fitpars)
3. └─cgaim (local) `<fn>`(...)
4. ├─base::do.call(smooth_fun, smo_par)
5. └─cgaim:::smooth_scam(...)
── Error ('test_updateAlpha.R:26:1'): (code run outside of `test_that()`) ──────
Error in `matrix(derivs[["derivative"]], ncol = 2)`: 'data' must be of a vector type, was 'NULL'
Backtrace:
▆
1. └─base::matrix(derivs[["derivative"]], ncol = 2) at test_updateAlpha.R:26:1
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc