Running ‘testthat.R’ [26s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(island)
  > 
  > test_check("island")
   Group 0 (Alg):  NLL (Col = 0.533644, Ext = 0.138887, Dtc = 0.598835, P_0 = 0.711853) = 492.946
   Group 1 (Cor):  NLL (Col = 0.323093, Ext = 0.203248, Dtc = 0.422268, P_0 = 0.612483) = 271.084
   Group 2 (Mac):  NLL (Col = 0.673037, Ext = 0.423253, Dtc = 0.445167, P_0 = 0.636727) = 589.526
   Group 3 (Mic):  NLL (Col = 0.329613, Ext = 0.225637, Dtc = 0.538836, P_0 = 0.544645) = 285.467
   Group 4 (Omn):  NLL (Col = 0.206187, Ext = 0.182234, Dtc = 0.491265, P_0 = 0.505884) = 111.562
   Group 5 (Pis):  NLL (Col = 0.45621, Ext = 0.548193, Dtc = 0.379974, P_0 = 0.493606) = 233.79
   Group 6 (Zoo):  NLL (Col = 0.29246, Ext = 0.118772, Dtc = 0.485579, P_0 = 0.746263) = 217.882
  Number of Columns: 26
   Group 0 (Alg):  NLL (Col = 0.533644, Ext = 0.138887, Dtc = 0.598835, P_0 = 0.711853) = 492.946
   Group 1 (Cor):  NLL (Col = 0.323093, Ext = 0.203248, Dtc = 0.422268, P_0 = 0.612483) = 271.084
   Group 2 (Mac):  NLL (Col = 0.673037, Ext = 0.423253, Dtc = 0.445167, P_0 = 0.636727) = 589.526
   Group 3 (Mic):  NLL (Col = 0.329613, Ext = 0.225637, Dtc = 0.538836, P_0 = 0.544645) = 285.467
   Group 4 (Omn):  NLL (Col = 0.206187, Ext = 0.182234, Dtc = 0.491265, P_0 = 0.505884) = 111.562
   Group 5 (Pis):  NLL (Col = 0.45621, Ext = 0.548193, Dtc = 0.379974, P_0 = 0.493606) = 233.79
   Group 6 (Zoo):  NLL (Col = 0.29246, Ext = 0.118772, Dtc = 0.485579, P_0 = 0.746263) = 217.882
   Partition 0-th: Number of estimated parameters: 2
  { Alg Cor Mac Mic Omn Pis Zoo } 
   NLL = 2245.04	 AIC = 4498.08	AIC (corrected) = 4498.1	 AIC_d = 51.1948	 AIC_w = 4.91748e-12
   Partition 1-th: Number of estimated parameters: 4
  { Alg Zoo Omn Mic Cor } { Pis Mac } 
   NLL = 2229.07	 AIC = 4474.13	AIC (corrected) = 4474.18	 AIC_d = 27.2796	 AIC_w = 7.67115e-07
   Partition 2-th: Number of estimated parameters: 6
  { Zoo Omn Mic Cor } { Alg } { Pis Mac } 
   NLL = 2212.17	 AIC = 4448.34	AIC (corrected) = 4448.44	 AIC_d = 1.53802	 AIC_w = 0.298243
   Partition 3-th: Number of estimated parameters: 8
  { Mac } { Pis } { Zoo Omn Mic Cor } { Alg } 
   NLL = 2207.36	 AIC = 4446.73	AIC (corrected) = 4446.9	 AIC_d = 0	 AIC_w = 0.643497
   Partition 4-th: Number of estimated parameters: 10
  { Omn Mic Cor } { Zoo } { Mac } { Pis } { Alg } 
   NLL = 2205.75	 AIC = 4451.51	AIC (corrected) = 4451.78	 AIC_d = 4.8784	 AIC_w = 0.0561326
   Partition 5-th: Number of estimated parameters: 12
  { Mic Cor } { Omn } { Zoo } { Mac } { Pis } { Alg } 
   NLL = 2205.27	 AIC = 4458.53	AIC (corrected) = 4458.92	 AIC_d = 12.0191	 AIC_w = 0.00157989
   Partition 6-th: Number of estimated parameters: 14
  { Cor } { Mic } { Omn } { Zoo } { Mac } { Pis } { Alg } 
   NLL = 2202.26	 AIC = 4460.52	AIC (corrected) = 4461.04	 AIC_d = 14.1415	 AIC_w = 0.000546708
  ── 1. Failure: Akaike (@test_general.R#37)  ────────────────────────────────────
  weight_of_evidence(cbind(models, aks)) has changed from known value recorded in 'g4.rds'.
  Component "Model": Modes: character, numeric
  Component "Model": Attributes: < target is NULL, current is list >
  Component "Model": target is character, current is factor
  
  ── 2. Failure: single dataset (@test_irregular.R#25)  ──────────────────────────
  irregular_single_dataset(...) has changed from known value recorded in 'i1.rds'.
  Component "Group": Modes: character, numeric
  Component "Group": Attributes: < target is NULL, current is list >
  Component "Group": target is character, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 31 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: Akaike (@test_general.R#37) 
  2. Failure: single dataset (@test_irregular.R#25) 
  
  Error: testthat unit tests failed
  Execution halted