Last updated on 2025-02-17 02:51:18 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.9.2 | 4.21 | 160.69 | 164.90 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.9.2 | 2.73 | 105.01 | 107.74 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.9.2 | 288.46 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.9.2 | 273.01 | ERROR | |||
r-devel-macos-arm64 | 0.9.2 | 81.00 | OK | |||
r-devel-macos-x86_64 | 0.9.2 | 166.00 | OK | |||
r-devel-windows-x86_64 | 0.9.2 | 6.00 | 180.00 | 186.00 | OK | |
r-patched-linux-x86_64 | 0.9.2 | 4.63 | 151.24 | 155.87 | OK | |
r-release-linux-x86_64 | 0.9.2 | 4.06 | 152.51 | 156.57 | OK | |
r-release-macos-arm64 | 0.9.2 | 77.00 | OK | |||
r-release-macos-x86_64 | 0.9.2 | 111.00 | OK | |||
r-release-windows-x86_64 | 0.9.2 | 6.00 | 178.00 | 184.00 | OK | |
r-oldrel-macos-arm64 | 0.9.2 | 80.00 | OK | |||
r-oldrel-macos-x86_64 | 0.9.2 | 195.00 | OK | |||
r-oldrel-windows-x86_64 | 0.9.2 | 8.00 | 217.00 | 225.00 | OK |
Version: 0.9.2
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘methods’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.9.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [49s/145s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(partR2)
> test_check("partR2")
[ FAIL 11 | WARN 141 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_combinations.R:63:3'): partbatch without partvars works ──────
R2_BMc$R2$estimate not equal to c(0.600551, 0.3910285).
2/2 mismatches (average diff: 0.0345)
[1] 0.559 - 0.601 == -0.0420
[2] 0.364 - 0.391 == -0.0269
── Failure ('test_partR2.R:22:3'): partR2 works for some special cases ─────────
r2_1$R2$estimate not equal to c(0.599, 0.0125, 0, 0.0124).
3/4 mismatches (average diff: 0.0146)
[1] 0.5573 - 0.5990 == -0.04172
[2] 0.0114 - 0.0125 == -0.00115
[4] 0.0113 - 0.0124 == -0.00107
── Failure ('test_r2.R:25:3'): R2 marginal and conditional are correct ─────────
r2_marg$R2 not equal to 0.2.
1/1 mismatches
[1] 0.164 - 0.2 == -0.0362
── Failure ('test_r2.R:26:3'): R2 marginal and conditional are correct ─────────
r2_cond$R2 not equal to 0.229.
1/1 mismatches
[1] 0.406 - 0.229 == 0.177
── Failure ('test_r2.R:123:3'): part R2s are correct with part_R2s() ───────────
r2_6$estimate not equal to c(0.219, 0.02).
2/2 mismatches (average diff: 0.0202)
[1] 0.1814 - 0.219 == -0.03761
[2] 0.0172 - 0.020 == -0.00282
── Failure ('test_r2.R:131:3'): part R2s are correct with part_R2s() ───────────
r2_8[r2_8$term == "Year+SpeciesDiversity:I(Temperature^2)", "estimate"][[1]] not equal to 0.0210613.
1/1 mismatches
[1] 0.0177 - 0.0211 == -0.00336
── Failure ('test_varcomps.R:88:3'): Gaussian variance components are correct ──
var_comps1$var_ran not equal to 0.2272901.
1/1 mismatches
[1] 0.306 - 0.227 == 0.0785
── Failure ('test_varcomps.R:89:3'): Gaussian variance components are correct ──
var_comps1$var_res not equal to 0.7646179.
1/1 mismatches
[1] 0.749 - 0.765 == -0.016
── Failure ('test_varcomps.R:92:3'): Gaussian variance components are correct ──
var_comps2$var_fix not equal to 0.4129966.
1/1 mismatches
[1] 0.414 - 0.413 == 0.00124
── Failure ('test_varcomps.R:93:3'): Gaussian variance components are correct ──
var_comps2$var_ran not equal to 0.2048629.
1/1 mismatches
[1] 0.156 - 0.205 == -0.0487
── Failure ('test_varcomps.R:94:3'): Gaussian variance components are correct ──
var_comps2$var_res not equal to 0.3723833.
1/1 mismatches
[1] 0.382 - 0.372 == 0.00999
[ FAIL 11 | WARN 141 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.9.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [44s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(partR2)
> test_check("partR2")
[ FAIL 11 | WARN 141 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_combinations.R:63:3'): partbatch without partvars works ──────
R2_BMc$R2$estimate not equal to c(0.600551, 0.3910285).
2/2 mismatches (average diff: 0.0345)
[1] 0.559 - 0.601 == -0.0420
[2] 0.364 - 0.391 == -0.0269
── Failure ('test_partR2.R:22:3'): partR2 works for some special cases ─────────
r2_1$R2$estimate not equal to c(0.599, 0.0125, 0, 0.0124).
3/4 mismatches (average diff: 0.0146)
[1] 0.5573 - 0.5990 == -0.04172
[2] 0.0114 - 0.0125 == -0.00115
[4] 0.0113 - 0.0124 == -0.00107
── Failure ('test_r2.R:25:3'): R2 marginal and conditional are correct ─────────
r2_marg$R2 not equal to 0.2.
1/1 mismatches
[1] 0.164 - 0.2 == -0.0362
── Failure ('test_r2.R:26:3'): R2 marginal and conditional are correct ─────────
r2_cond$R2 not equal to 0.229.
1/1 mismatches
[1] 0.406 - 0.229 == 0.177
── Failure ('test_r2.R:123:3'): part R2s are correct with part_R2s() ───────────
r2_6$estimate not equal to c(0.219, 0.02).
2/2 mismatches (average diff: 0.0202)
[1] 0.1814 - 0.219 == -0.03761
[2] 0.0172 - 0.020 == -0.00282
── Failure ('test_r2.R:131:3'): part R2s are correct with part_R2s() ───────────
r2_8[r2_8$term == "Year+SpeciesDiversity:I(Temperature^2)", "estimate"][[1]] not equal to 0.0210613.
1/1 mismatches
[1] 0.0177 - 0.0211 == -0.00336
── Failure ('test_varcomps.R:88:3'): Gaussian variance components are correct ──
var_comps1$var_ran not equal to 0.2272901.
1/1 mismatches
[1] 0.306 - 0.227 == 0.0785
── Failure ('test_varcomps.R:89:3'): Gaussian variance components are correct ──
var_comps1$var_res not equal to 0.7646179.
1/1 mismatches
[1] 0.749 - 0.765 == -0.016
── Failure ('test_varcomps.R:92:3'): Gaussian variance components are correct ──
var_comps2$var_fix not equal to 0.4129966.
1/1 mismatches
[1] 0.414 - 0.413 == 0.00124
── Failure ('test_varcomps.R:93:3'): Gaussian variance components are correct ──
var_comps2$var_ran not equal to 0.2048629.
1/1 mismatches
[1] 0.156 - 0.205 == -0.0487
── Failure ('test_varcomps.R:94:3'): Gaussian variance components are correct ──
var_comps2$var_res not equal to 0.3723833.
1/1 mismatches
[1] 0.382 - 0.372 == 0.00999
[ FAIL 11 | WARN 141 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc