Running ‘testthat.R’ [28s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cat2cat)
  > library(dplyr)
  
  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
  
  > test_check("cat2cat")
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 67 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-cat2cat.R:31:1): (code run outside of `test_that()`) ──────────
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:32:1): (code run outside of `test_that()`) ──────────
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:33:1): (code run outside of `test_that()`) ──────────
  !identical(occup_2$old$wei_freq_c2c, occup_2$old$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:155:1): (code run outside of `test_that()`) ─────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:156:1): (code run outside of `test_that()`) ─────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:157:1): (code run outside of `test_that()`) ─────────
  !identical(verts2$old$wei_freq_c2c, verts2$old$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:178:1): (code run outside of `test_that()`) ─────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_rf_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:179:1): (code run outside of `test_that()`) ─────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_knn_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-cat2cat.R:180:1): (code run outside of `test_that()`) ─────────
  !identical(verts3$new$wei_freq_c2c, verts3$new$wei_lda_c2c) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 67 ]
  Error: Test failures
  Execution halted