Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [9m/12m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(autodb)
  
  Attaching package: 'autodb'
  
  The following object is masked from 'package:stats':
  
      decompose
  
  > 
  > test_check("autodb")
  Saving _problems/test-database-939.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 886 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-database.r:930:5'): database / concatenates to a valid database ──
  Falsifiable after 4 tests, and 100 shrinks
  <expectation_failure/expectation/error/condition>
  foreign key 1 has differing child/join record counts: 2 vs 1
  Backtrace:
       x
    1. \-hedgehog::forall(...) at test-database.r:930:5
    2.   \-hedgehog:::run.prop(property, counterexample$smallest, curry)
    3.     +-base::tryCatch(...)
    4.     | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
    5.     |   \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    6.     |     \-base (local) doTryCatch(return(expr), name, parentenv, handler)
    7.     +-base::withCallingHandlers(...)
    8.     +-base::do.call(property, arguments)
    9.     \-autodb (local) `<fn>`(FALSE, `<list>`)
   10.       \-autodb:::expect_valid_database(do.call(c, dss), same_attr_name = san) at test-database.r:937:7
  Counterexample:
  [[1]]
  [1] FALSE
  
  [[2]]
  [[2]][[1]]
  database with 3 relations
  6 attributes: a, b, c, d, e, f
  relation X: ; 1 record
    key 1: 
  relation X.1: ; 1 record
    key 1: 
  relation X.2: ; 1 record
    key 1: 
  no references
  
  [[2]][[2]]
  database with 3 relations
  6 attributes: a, b, c, d, e, f
  relation X: a, b, c, d; 0 records
    key 1: 
  relation a: a, b, c, d; 3 records
    key 1: a
  relation b_c: b, c, a, d; 2 records
    key 1: b, c
  references:
  b_c.{d} -> a.{a}
  X.{b, c} -> b_c.{b, c}
  
  
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 886 ]
  Error:
  ! Test failures.
  Execution halted