R Under development (unstable) (2024-11-06 r87293 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) > library(mda) Loading required package: class Loaded mda 0.5-5 > > test_check("mda") [,1] Intercept -0.7540653 x1 -0.0998547 x2 1.1010589 [,1] [,2] Intercept 0.5443088 1.7225482 x1 -1.2475196 -0.7814268 x2 0.5748352 -1.4674081 [1] 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 [38] 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 [75] 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 1 1 1 [112] 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 [149] 1 1 1 1 1 0 1 1 0 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 [186] 1 1 1 0 1 1 1 1 1 0 1 1 1 1 0 Levels: 0 1 true predicted 0 1 0 80 13 1 20 87 true predicted 0 1 0 80 19 1 20 81 Testing fda.fit Testing mda.fit Testing fitb Testing fitm Testing fitb.confusion Testing fitm.confusion Testing mda.ppred [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] > > proc.time() user system elapsed 0.73 0.12 0.84