Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > library("stagedtrees")
  > 
  > test_check("stagedtrees")
  Kids: joined 0 situations.
  Married: joined 0 situations.
  joined a total of 0 situations.
  object fitted using lambda = 0
  Kids: joined 0 situations.
  Married: joined 0 situations.
  joined a total of 0 situations.
  object fitted using lambda = 0
  Stage structure 
  A[2]->B[3]->C[2] 
  A : NA 
  B : 1 2 
  C : 1 2 3 4 5 6 
  BHC over Gender done after 2 iterations
  Kids: joined stages: 4 and 2
  Kids: joined stages: 6 and 4
  Kids: joined stages: 5 and 3
  Kids: joined stages: 5 and 1
  BHC over Kids done after 5 iterations
  Married: joined stages: 11 and 9
  Married: joined stages: 11 and 7
  Married: joined stages: 11 and 5
  Married: joined stages: 11 and 3
  Married: joined stages: 11 and 1
  BHC over Married done after 5 iterations
  BHC done
  BHC over Gender done after 2 iterations
  Kids: joined stages: 4 and 2
  Kids: joined stages: 5 and 3
  Kids: joined stages: 6 and 4
  Kids: joined stages: 5 and 1
  BHC over Kids done after 5 iterations
  Married: joined stages: 11 and 9
  Married: joined stages: 11 and 7
  Married: joined stages: 11 and 5
  Married: joined stages: 11 and 3
  Married: joined stages: 11 and 1
  BHC over Married done after 5 iterations
  BHC done
  Kids: joined stages 5 and 1
  backward HC random done after 10 iteration
  Gender: joined stages: 1 and 3.
  backward join over Gender done.
  Kids: joined stages: 2 and 4.
  Kids: joined stages: 2 and 6.
  Kids: joined stages: 3 and 5.
  Kids: joined stages: 1 and 3.
  backward join over Kids done.
  Married: joined stages: 1 and 3.
  Married: joined stages: 1 and 5.
  Married: joined stages: 1 and 7.
  Married: joined stages: 1 and 9.
  Married: joined stages: 1 and 11.
  Married: joined stages: 2 and 12.
  Married: joined stages: 4 and 8.
  Married: joined stages: 6 and 10.
  Married: joined stages: 2 and 6.
  Married: joined stages: 2 and 4.
  backward join over Married done.
  backward join done.
  Gender: joined stages: 1 and 3.
  backward join over Gender done.
  Kids: joined stages: 2 and 4.
  Kids: joined stages: 3 and 5.
  Kids: joined stages: 2 and 6.
  Kids: joined stages: 1 and 3.
  backward join over Kids done.
  Married: joined stages: 1 and 3.
  Married: joined stages: 1 and 5.
  Married: joined stages: 1 and 7.
  Married: joined stages: 1 and 9.
  Married: joined stages: 1 and 11.
  Married: joined stages: 4 and 8.
  Married: joined stages: 6 and 10.
  Married: joined stages: 2 and 12.
  Married: joined stages: 2 and 6.
  Married: joined stages: 2 and 4.
  backward join over Married done.
  backward join done.
  fast BHC over Gender done after 2 iterations.
  Kids: joined stages 3 and 1.
  Kids: joined stages 4 and 2.
  Kids: joined stages 5 and 3.
  Kids: joined stages 6 and 4.
  fast BHC over Kids done after 5 iterations.
  Married: joined stages 3 and 1.
  Married: joined stages 4 and 2.
  Married: joined stages 5 and 3.
  Married: joined stages 7 and 5.
  Married: joined stages 8 and 4.
  fast BHC over Married done after 5 iterations.
  fast HC done
  HC over Gender done after 2 iterations.
  Kids: moved 2 from stage 2 to stage 4.
  Kids: moved 6 from stage 6 to stage 4.
  Kids: moved 3 from stage 3 to stage 5.
  HC over Kids done after 3 iterations.
  Married: moved 1 from stage 1 to stage 3.
  Married: moved 5 from stage 5 to stage 3.
  Married: moved 7 from stage 7 to stage 3.
  HC over Married done after 3 iterations.
  HC done
  HC over Gender done after 2 iterations.
  Kids: moved 2 from stage 2 to stage 4.
  Kids: moved 6 from stage 6 to stage 4.
  Kids: moved 3 from stage 3 to stage 5.
  HC over Kids done after 3 iterations.
  Married: moved 1 from stage 1 to stage 3.
  Married: moved 5 from stage 5 to stage 3.
  Married: moved 7 from stage 7 to stage 3.
  HC over Married done after 3 iterations.
  HC done
  HC over Gender done after 2 iterations.
  Kids: moved 4 from stage 1 to stage 3.
  Kids: moved 2 from stage 1 to stage 3.
  Kids: moved 6 from stage 1 to stage 3.
  HC over Kids done after 3 iterations.
  Married: moved 5 from stage 1 to stage 3.
  Married: moved 1 from stage 1 to stage 3.
  Married: moved 9 from stage 1 to stage 3.
  HC over Married done after 3 iterations.
  HC done
  HC over Gender done after 2 iterations.
  Kids: moved 4 from stage 1 to stage 3.
  Kids: moved 2 from stage 1 to stage 3.
  Kids: moved 6 from stage 1 to stage 3.
  HC over Kids done after 3 iterations.
  Married: moved 5 from stage 1 to stage 3.
  Married: moved 1 from stage 1 to stage 3.
  Married: moved 9 from stage 1 to stage 3.
  HC over Married done after 3 iterations.
  HC done
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 1363 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-inclusion_stages.R:11:5'): inclusion_stages works properly ───
  NROW(comparison[[i]]) > NROW(comparison[[i - 1]]) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 1363 ]
  Error: Test failures
  Execution halted