Running ‘testthat.R’ [53s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library("testthat")
  > library("cat2cat")
  > 
  > test_check("cat2cat")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cat2cat.R:66'): Simple backward cat2cat with 2 periods and ml ──
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:67'): Simple backward cat2cat with 2 periods and ml ──
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:68'): Simple backward cat2cat with 2 periods and ml ──
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:295'): set id_var, backward and ml ─────────────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:296'): set id_var, backward and ml ─────────────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:297'): set id_var, backward and ml ─────────────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:336'): set id_var, forward and ml ──────────────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:337'): set id_var, forward and ml ──────────────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-cat2cat.R:338'): set id_var, forward and ml ──────────────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-multi-cat2cat.R:56'): multi-period cat2cat probabilities ─────
  !identical(occup_back_2006_2008_1$old$wei_freq_c2c, occup_back_2006_2008_1$old$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 108 ]
  Error: Test failures
  Execution halted