Running ‘testthat.R’ [140s/151s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > # Need to use qualified call, this is checked in helper-print.R
  > testthat::test_check("dm")
  Loading required package: dm
  
  Attaching package: 'dm'
  
  The following object is masked from 'package:stats':
  
      filter
  
  for examine_cardinality...()
  Evaluating d1
  Evaluating d2
  Evaluating d3
  Evaluating d4
  Evaluating d5
  Evaluating d6
  Evaluating d7
  Evaluating d8
  for check_fk() and check_set_equality()
  Evaluating data
  Evaluating data_1
  Evaluating data_2
  Evaluating data_3
  for table surgery
  Evaluating data_ts
  Evaluating data_ts_child
  Evaluating data_ts_parent
  for testing filter and semi_join
  Evaluating t1
  Evaluating t2
  Evaluating t3
  Evaluating t4
  Evaluating t5
  Evaluating t6
  Evaluating t7
  Evaluating dm_for_filter_w_cycle
  for testing filter and semi_join (2)
  Evaluating list_for_filter
  Evaluating dm_for_filter
  for testing filter and semi_join (3)
  Evaluating output_1
  Evaluating output_3
  Evaluating dm_for_filter_rev
  for tests on `dm` objects: dm_add_pk(), dm_add_fk()
  Evaluating dm_test_obj
  Evaluating dm_test_obj_2
  complicated dm
  Evaluating list_for_filter_2
  Evaluating dm_more_complex
  for dm_disambiguate_cols()
  Evaluating iris_1
  Evaluating iris_2
  Evaluating iris_3
  Evaluating iris_1_dis
  Evaluating iris_2_dis
  Evaluating iris_3_dis
  Evaluating dm_for_disambiguate
  Evaluating dm_for_disambiguate_2
  star schema
  Evaluating fact
  Evaluating fact_clean
  Evaluating dim_1
  Evaluating dim_1_clean
  Evaluating dim_2
  Evaluating dim_2_clean
  Evaluating dim_3
  Evaluating dim_3_clean
  Evaluating dim_4
  Evaluating dim_4_clean
  Evaluating dm_for_flatten
  Evaluating result_from_flatten
  Evaluating tbl_1
  Evaluating tbl_2
  Evaluating tbl_3
  Evaluating bad_dm
  Evaluating dm_nycflights_small
  connecting
  Registering testing src: df OK
  Registering testing src: sqlite OK
  loading into database
  Evaluating dm_for_filter_src
  Evaluating dm_for_filter_rev_src
  Evaluating dm_for_filter_w_cycle_src
  Evaluating dm_test_obj_src
  Evaluating dm_test_obj_2_src
  Evaluating dm_for_flatten_src
  Evaluating dm_more_complex_src
  Evaluating dm_for_disambiguate_src
  Evaluating dm_nycflights_small_src
  loading data frames into database
  Evaluating d1_src
  Evaluating d2_src
  Evaluating d3_src
  Evaluating d4_src
  Evaluating d5_src
  Evaluating d6_src
  Evaluating src_names
  Evaluating data_check_key_src
  Evaluating data_1_src
  Evaluating data_2_src
  Evaluating data_3_src
  Evaluating data_ts_src
  Evaluating data_ts_child_src
  Evaluating data_ts_parent_src
  Evaluating list_of_data_ts_parent_and_child_src
  Evaluating t1_src
  Evaluating t3_src
  ── 1. Failure: check_cardinality_...() functions are checking the cardinality co
  `map2(...)` produced warnings.
  
  <unknown>:1753848: Invalid asm.js: Function definition doesn't match use
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 739 | SKIPPED: 42 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: check_cardinality_...() functions are checking the cardinality correctly? (@test-check-cardinalities.R#7) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In file(filename, "r", encoding = encoding) :
    cannot open file '/Users/tobiasschieferdecker/git/cynkra/dm/.Rprofile': No such file or directory
  Execution halted