CRAN Package Check Results for Package magi

Last updated on 2021-08-01 09:50:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 459.82 187.75 647.57 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 317.19 136.50 453.69 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 907.19 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0 842.00 OK
r-devel-windows-x86_64 1.0.0 499.00 279.00 778.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.0.0 OK
r-patched-linux-x86_64 1.0.0 OK
r-patched-solaris-x86 1.0.0 689.70 ERROR
r-release-linux-x86_64 1.0.0 360.44 183.42 543.86 OK
r-release-macos-arm64 1.0.0 NOTE
r-release-macos-x86_64 1.0.0 NOTE
r-oldrel-macos-x86_64 1.0.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0.0 797.00 328.00 1125.00 ERROR

Additional issues

ATLAS clang-ASAN clang-UBSAN gcc-ASAN gcc-UBSAN MKL OpenBLAS valgrind

Check Details

Version: 1.0.0
Check: installed package size
Result: NOTE
     installed size is 36.1Mb
     sub-directories of 1Mb or more:
     libs 34.6Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running β€˜testthat.R’ [195s/240s]
    Running the tests in β€˜tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > testthat::test_that("on attach messages", {
     + expect_message(library(magi))
     + })
     Test passed 🌈
     >
     > test_check("magi")
     t = 1; acceptance rate = 0; log-posterior value = 96.5295; theta = 0.2000 0.2000 3.0000
     t = 101; acceptance rate = 0.68; log-posterior value = -111.076; theta = 0.1958 0.2256 2.9741
     t = 1; acceptance rate = 0; log-posterior value = 96.5295; theta = 0.2000 0.2000 3.0000
     t = 101; acceptance rate = 0.82; log-posterior value = -96.1765; theta = 0.2014 0.2393 2.9890
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5088.82; theta = 0.0914 0.5230 2.2903
     phi =
     2.2400 0.6500
     1.6400 2.9300
    
     thetaInit =
     0.2431
     0.2157
     2.6789
    
     t = 1; acceptance rate = 0.5; log-posterior value = -6268.13; theta = 0.0902 0.5183 2.2269
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5526.1; theta = 0.1196 0.4699 2.1851
     t = 1; acceptance rate = 0; log-posterior value = 7.50032; theta = 0.1510 0.8508 2.2131
     t = 1; acceptance rate = 0; log-posterior value = 7.14994; theta = 0.1462 0.8735 2.1585
     t = 1; acceptance rate = 0; log-posterior value = 6.33745; theta = 0.1398 0.8825 2.2129
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5840.27; theta = 0.1095 0.4801 2.2394
     t = 101; acceptance rate = 0.9; log-posterior value = -138.222; theta = 0.1350 0.7946 2.3796
     t = 1; acceptance rate = 0.5; log-posterior value = -66.5889; theta = 0.1338 0.8789 2.3129
     t = 101; acceptance rate = 0.89; log-posterior value = -151.623; theta = 0.1047 0.9135 2.2040
     t = 1; acceptance rate = 0; log-posterior value = 6.08133; theta = 0.0819 0.8748 2.2950
     t = 101; acceptance rate = 0.76; log-posterior value = -163.011; theta = 0.0835 0.9092 2.2261
     t = 1; acceptance rate = 0.5; log-posterior value = -65.3067; theta = 0.1023 0.8947 2.1725
     t = 101; acceptance rate = 0.94; log-posterior value = -144.052; theta = 0.0890 0.8687 2.2332
     [1] 100.0000000 0.8600000 1.7805214 0.6459524 0.2784685
    
     === mile stone ===> processed 0% of MCMC iterations
    
     === mile stone ===> processed 10% of MCMC iterations
    
     === mile stone ===> processed 20% of MCMC iterations
    
     === mile stone ===> processed 30% of MCMC iterations
    
     === mile stone ===> processed 40% of MCMC iterations
    
     === mile stone ===> processed 50% of MCMC iterations
    
     === mile stone ===> processed 60% of MCMC iterations
    
     === mile stone ===> processed 70% of MCMC iterations
    
     === mile stone ===> processed 80% of MCMC iterations
    
     === mile stone ===> processed 90% of MCMC iterations
     Parallel tempering finished:
     Out of 10000 iterations, 482 swap is performed,
     swap rate is 0.0482
     Chain 1 acceptance rate = 0.9218
     Chain 2 acceptance rate = 0.8993
     Chain 3 acceptance rate = 0.8926
     Chain 4 acceptance rate = 0.8739
     Chain 5 acceptance rate = 0.8375
     Chain 6 acceptance rate = 0.796
     Chain 7 acceptance rate = 0.7265
     Chain 8 acceptance rate = 0.5702
    
     ========================
     Swap between chain 1 and chain 2:
     total swap is 94, acceptance number = 69, acceptance rate = 0.734043
     Swap between chain 2 and chain 3:
     total swap is 53, acceptance number = 46, acceptance rate = 0.867925
     Swap between chain 3 and chain 4:
     total swap is 50, acceptance number = 36, acceptance rate = 0.72
     Swap between chain 4 and chain 5:
     total swap is 67, acceptance number = 47, acceptance rate = 0.701493
     Swap between chain 5 and chain 6:
     total swap is 58, acceptance number = 36, acceptance rate = 0.62069
     Swap between chain 6 and chain 7:
     total swap is 67, acceptance number = 34, acceptance rate = 0.507463
     Swap between chain 7 and chain 8:
     total swap is 93, acceptance number = 24, acceptance rate = 0.258065
    
     === mile stone ===> processed 0% of MCMC iterations
    
     === mile stone ===> processed 10% of MCMC iterations
    
     === mile stone ===> processed 20% of MCMC iterations
    
     === mile stone ===> processed 30% of MCMC iterations
    
     === mile stone ===> processed 40% of MCMC iterations
    
     === mile stone ===> processed 50% of MCMC iterations
    
     === mile stone ===> processed 60% of MCMC iterations
    
     === mile stone ===> processed 70% of MCMC iterations
    
     === mile stone ===> processed 80% of MCMC iterations
    
     === mile stone ===> processed 90% of MCMC iterations
     Parallel tempering finished:
     Out of 300 iterations, 162 swap is performed,
     swap rate is 0.54
     Chain 1 acceptance rate = 0
     Chain 2 acceptance rate = 0
     Chain 3 acceptance rate = 0
     Chain 4 acceptance rate = 0
     Chain 5 acceptance rate = 0.00666667
     Chain 6 acceptance rate = 0.163333
     Chain 7 acceptance rate = 0.5
     Chain 8 acceptance rate = 0.583333
    
     ========================
     Swap between chain 1 and chain 2:
     total swap is 20, acceptance number = 20, acceptance rate = 1
     Swap between chain 2 and chain 3:
     total swap is 16, acceptance number = 16, acceptance rate = 1
     Swap between chain 3 and chain 4:
     total swap is 23, acceptance number = 23, acceptance rate = 1
     Swap between chain 4 and chain 5:
     total swap is 21, acceptance number = 21, acceptance rate = 1
     Swap between chain 5 and chain 6:
     total swap is 31, acceptance number = 20, acceptance rate = 0.645161
     Swap between chain 6 and chain 7:
     total swap is 19, acceptance number = 2, acceptance rate = 0.105263
     Swap between chain 7 and chain 8:
     total swap is 32, acceptance number = 9, acceptance rate = 0.28125
     [1] 100.0000000 0.5900000 0.2021407 0.2153647 2.9716137
     [1] 200.0000000 0.7600000 0.2062475 0.2423755 2.9471763
     [1] 300.0000000 0.7400000 0.1926811 0.1871427 2.9527574
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     β€’ On CRAN (3)
     β€’ empty test (4)
     β€’ periodicMatern dCdphi is wrong for the 3rd parameter (1)
     β€’ periodicMatern magi:::phisigllik gradient has problem for eta, needs debug (1)
     β€’ periodicMatern phisigSample runs with error, needs debug (1)
     β€’ rationalQuadratic derivative variance Kmat too small (2)
     β€’ rbf derivative variance Kmat too small (2)
     β€’ segfault due to null pointer in hes1logmodel function, passing is wrong (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_xthetaphillik.R:149:3): xthetaphisigmallik derivatives ────────
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure (test_xthetaphillik.R:166:3): xthetaphisigmallik derivatives ────────
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure (test_xthetaphillik.R:184:3): xthetaphisigmallik derivatives ────────
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure (test_xthetaphillik.R:201:3): xthetaphisigmallik derivatives ────────
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
    
     [ FAIL 4 | WARN 0 | SKIP 15 | PASS 457 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0.0
Check: running tests for arch β€˜i386’
Result: ERROR
     Running 'testthat.R' [111s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > testthat::test_that("on attach messages", {
     + expect_message(library(magi))
     + })
     Test passed
     >
     > test_check("magi")
     t = 1; acceptance rate = 0; log-posterior value = 96.5295; theta = 0.2000 0.2000 3.0000
     t = 101; acceptance rate = 0.68; log-posterior value = -111.076; theta = 0.1958 0.2256 2.9741
     t = 1; acceptance rate = 0; log-posterior value = 96.5295; theta = 0.2000 0.2000 3.0000
     t = 101; acceptance rate = 0.82; log-posterior value = -96.1765; theta = 0.2014 0.2393 2.9890
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5088.82; theta = 0.0914 0.5230 2.2903
     phi =
     2.2400 0.6500
     1.6400 2.9300
    
     thetaInit =
     0.2431
     0.2157
     2.6789
    
     t = 1; acceptance rate = 0.5; log-posterior value = -6268.13; theta = 0.0902 0.5183 2.2269
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5526.1; theta = 0.1196 0.4699 2.1851
     t = 1; acceptance rate = 0; log-posterior value = 7.50032; theta = 0.1510 0.8508 2.2131
     t = 1; acceptance rate = 0; log-posterior value = 7.14994; theta = 0.1462 0.8735 2.1585
     t = 1; acceptance rate = 0; log-posterior value = 6.33745; theta = 0.1398 0.8825 2.2129
     phi =
     2.2396 0.6578
     1.6332 2.9407
    
     thetaInit =
     0.2429
     0.2159
     2.6842
    
     t = 1; acceptance rate = 0.5; log-posterior value = -5840.27; theta = 0.1095 0.4801 2.2394
     t = 101; acceptance rate = 0.9; log-posterior value = -138.222; theta = 0.1350 0.7946 2.3796
     t = 1; acceptance rate = 0.5; log-posterior value = -66.5889; theta = 0.1338 0.8789 2.3129
     t = 101; acceptance rate = 0.89; log-posterior value = -151.623; theta = 0.1047 0.9135 2.2040
     t = 1; acceptance rate = 0; log-posterior value = 6.08132; theta = 0.0819 0.8748 2.2950
     t = 101; acceptance rate = 0.76; log-posterior value = -163.011; theta = 0.0835 0.9092 2.2261
     t = 1; acceptance rate = 0.5; log-posterior value = -65.3067; theta = 0.1023 0.8947 2.1725
     t = 101; acceptance rate = 0.94; log-posterior value = -144.052; theta = 0.0890 0.8687 2.2332
     [1] 100.0000000 0.8600000 1.7805221 0.6459523 0.2784684
    
     === mile stone ===> processed 0% of MCMC iterations
    
     === mile stone ===> processed 10% of MCMC iterations
    
     === mile stone ===> processed 20% of MCMC iterations
    
     === mile stone ===> processed 30% of MCMC iterations
    
     === mile stone ===> processed 40% of MCMC iterations
    
     === mile stone ===> processed 50% of MCMC iterations
    
     === mile stone ===> processed 60% of MCMC iterations
    
     === mile stone ===> processed 70% of MCMC iterations
    
     === mile stone ===> processed 80% of MCMC iterations
    
     === mile stone ===> processed 90% of MCMC iterations
     Parallel tempering finished:
     Out of 10000 iterations, 482 swap is performed,
     swap rate is 0.0482
     Chain 1 acceptance rate = 0.92
     Chain 2 acceptance rate = 0.8996
     Chain 3 acceptance rate = 0.8941
     Chain 4 acceptance rate = 0.8753
     Chain 5 acceptance rate = 0.8367
     Chain 6 acceptance rate = 0.7997
     Chain 7 acceptance rate = 0.7283
     Chain 8 acceptance rate = 0.572
    
     ========================
     Swap between chain 1 and chain 2:
     total swap is 94, acceptance number = 71, acceptance rate = 0.755319
     Swap between chain 2 and chain 3:
     total swap is 53, acceptance number = 45, acceptance rate = 0.849057
     Swap between chain 3 and chain 4:
     total swap is 50, acceptance number = 34, acceptance rate = 0.68
     Swap between chain 4 and chain 5:
     total swap is 67, acceptance number = 46, acceptance rate = 0.686567
     Swap between chain 5 and chain 6:
     total swap is 58, acceptance number = 34, acceptance rate = 0.586207
     Swap between chain 6 and chain 7:
     total swap is 67, acceptance number = 36, acceptance rate = 0.537313
     Swap between chain 7 and chain 8:
     total swap is 93, acceptance number = 26, acceptance rate = 0.27957
    
     === mile stone ===> processed 0% of MCMC iterations
    
     === mile stone ===> processed 10% of MCMC iterations
    
     === mile stone ===> processed 20% of MCMC iterations
    
     === mile stone ===> processed 30% of MCMC iterations
    
     === mile stone ===> processed 40% of MCMC iterations
    
     === mile stone ===> processed 50% of MCMC iterations
    
     === mile stone ===> processed 60% of MCMC iterations
    
     === mile stone ===> processed 70% of MCMC iterations
    
     === mile stone ===> processed 80% of MCMC iterations
    
     === mile stone ===> processed 90% of MCMC iterations
     Parallel tempering finished:
     Out of 300 iterations, 162 swap is performed,
     swap rate is 0.54
     Chain 1 acceptance rate = 0
     Chain 2 acceptance rate = 0
     Chain 3 acceptance rate = 0
     Chain 4 acceptance rate = 0
     Chain 5 acceptance rate = 0
     Chain 6 acceptance rate = 0.26
     Chain 7 acceptance rate = 0.57
     Chain 8 acceptance rate = 0.626667
    
     ========================
     Swap between chain 1 and chain 2:
     total swap is 20, acceptance number = 20, acceptance rate = 1
     Swap between chain 2 and chain 3:
     total swap is 16, acceptance number = 16, acceptance rate = 1
     Swap between chain 3 and chain 4:
     total swap is 23, acceptance number = 23, acceptance rate = 1
     Swap between chain 4 and chain 5:
     total swap is 21, acceptance number = 21, acceptance rate = 1
     Swap between chain 5 and chain 6:
     total swap is 31, acceptance number = 12, acceptance rate = 0.387097
     Swap between chain 6 and chain 7:
     total swap is 19, acceptance number = 1, acceptance rate = 0.0526316
     Swap between chain 7 and chain 8:
     total swap is 32, acceptance number = 3, acceptance rate = 0.09375
     [1] 100.0000000 0.7600000 0.1907167 0.2160267 2.8764746
     [1] 200.0000000 0.7600000 0.1978097 0.2742148 2.9325236
     [1] 300.0000000 0.7700000 0.1779350 0.2474248 2.9565845
     == Skipped tests ===============================================================
     * On CRAN (3)
     * empty test (4)
     * periodicMatern dCdphi is wrong for the 3rd parameter (1)
     * periodicMatern magi:::phisigllik gradient has problem for eta, needs debug (1)
     * periodicMatern phisigSample runs with error, needs debug (1)
     * rationalQuadratic derivative variance Kmat too small (2)
     * rbf derivative variance Kmat too small (2)
     * segfault due to null pointer in hes1logmodel function, passing is wrong (1)
    
     == Failed tests ================================================================
     -- Failure (test_xthetaphi1sigmallik.R:141:3): xthetaphi1sigmallik compare to full xthetaphisigmallik --
     out3$value - out0$value not equal to `constDiff12`.
     1/1 mismatches
     [1] 2.47e+192 - -27.1 == 2.47e+192
     -- Failure (test_xthetaphillik.R:77:3): xthetaphisigmallik differs to xthetallik and loglikOrig by constant fixing phi sigma --
     mean(realDiff < 0.001) is not strictly more than 0.95. Difference: -0.45
     -- Failure (test_xthetaphillik.R:112:3): xthetaphisigmallik differs to loglikOrig by constant (the pi part) --
     mean(abs(realDiff) < 0.01) is not strictly more than 0.4. Difference: -0.4
     -- Failure (test_xthetaphillik.R:149:3): xthetaphisigmallik derivatives --------
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure (test_xthetaphillik.R:166:3): xthetaphisigmallik derivatives --------
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure (test_xthetaphillik.R:184:3): xthetaphisigmallik derivatives --------
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure (test_xthetaphillik.R:201:3): xthetaphisigmallik derivatives --------
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure (test_xthetaphillik.R:222:3): xthetaphisigmallik derivatives --------
     all(abs(x) < 0.005) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
    
     [ FAIL 8 | WARN 0 | SKIP 15 | PASS 453 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64