Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(faux)
  
  ************
  Welcome to faux. For support and examples visit:
  http://debruine.github.io/faux/
  - Get and set global package options with: faux_options()
  ************
  > 
  > test_check("faux")
  == Warnings ====================================================================
  -- Warning (test-sim_mixed_cc.R:9:3): default ----------------------------------
  Package version inconsistency detected.
  TMB was built with Matrix version 1.3.0
  Current Matrix version is 1.2.18
  Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package
  Backtrace:
    1. `%>%`(...) test-sim_mixed_cc.R:9:2
    2. broom.mixed::tidy
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    9. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10. base:::runHook(".onLoad", env, package.lib, package)
   15. TMB:::fun(libname, pkgname)
   16. TMB:::checkMatrixPackageVersion()
  
  == Failed tests ================================================================
  -- Failure (test-codebook.R:287:3): conversion ---------------------------------
  typeof(ndata$s) not equal to "character".
  1/1 mismatches
  x[1]: "integer"
  y[1]: "character"
  -- Failure (test-codebook.R:297:3): conversion ---------------------------------
  typeof(ndata$s) not equal to "character".
  1/1 mismatches
  x[1]: "integer"
  y[1]: "character"
  -- Failure (test-codebook.R:307:3): conversion ---------------------------------
  typeof(ndata$s) not equal to "character".
  1/1 mismatches
  x[1]: "integer"
  y[1]: "character"
  -- Failure (test-sim_design.R:69:3): 2w ----------------------------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  -- Failure (test-sim_design.R:97:3): 2w*2w -------------------------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  -- Failure (test-sim_design.R:195:3): 2w*2b basic ------------------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  -- Failure (test-sim_design.R:240:3): 2w*2b alt --------------------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  -- Failure (test-sim_design.R:278:3): 2w*2b within order -----------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  -- Failure (test-sim_design.R:325:3): 2w*2b order ------------------------------
  `chk` not equal to `comp`.
  Component "var": Modes: character, numeric
  Component "var": Attributes: < target is NULL, current is list >
  Component "var": target is character, current is factor
  
  [ FAIL 9 | WARN 1 | SKIP 0 | PASS 997 ]
  Error: Test failures
  Execution halted