R Under development (unstable) (2024-05-04 r86521 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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.5294; 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.5294; 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 FN system model, with derivatives Dx and Dtheta appear to be correct Hes1 system model, with derivatives Dx and Dtheta appear to be correct Hes1-log system model, with derivatives Dx and Dtheta appear to be correct 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.81; 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.09; 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.26; 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.5886; 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.08131; theta = 0.0819 0.8748 2.2950 t = 101; acceptance rate = 0.76; log-posterior value = -163.012; theta = 0.0835 0.9092 2.2261 t = 1; acceptance rate = 0.5; log-posterior value = -65.3066; 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 [ FAIL 0 | WARN 0 | SKIP 20 | PASS 247 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (7): 'test_benchmarkSpeed.R:57:3', 'test_hmc.R:8:3', 'test_hmc.R:22:3', 'test_xthetaphillik.R:41:3', 'test_xthetaphillik.R:82:3', 'test_xthetaphillik.R:132:3', 'test_xthetasigmallik.R:46:3' • compact1 is no longer in use (1): 'test_phisigllikC.R:33:7' • empty test (4): 'test_kernel.R:192:1', 'test_kernel.R:201:1', 'test_kernel.R:214:1', 'test_kernel.R:223:1' • periodicMatern dCdphi is wrong for the 3rd parameter (1): 'test_kernel.R:40:5' • periodicMatern magi:::phisigllik gradient has problem for eta, needs debug (1): 'test_phisigllikC.R:41:7' • periodicMatern phisigSample runs with error, needs debug (1): 'test_phisigllikC.R:57:7' • rationalQuadratic derivative variance Kmat too small (2): 'test_kernel.R:104:5', 'test_kernel.R:174:5' • rbf derivative variance Kmat too small (2): 'test_kernel.R:103:5', 'test_kernel.R:135:5' • segfault due to null pointer in hes1logmodel function, passing is wrong (1): 'test_optimizePhi.R:179:3' [ FAIL 0 | WARN 0 | SKIP 20 | PASS 247 ] > > #' check test code coverage > > proc.time() user system elapsed 43.60 3.01 46.57