Running ‘tinytest.R’ [57s/63s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("etwfe")
  + }
  
  test_baker.R..................    0 tests    
  test_baker.R..................    0 tests    
  test_baker.R..................    0 tests    
  test_baker.R..................    0 tests    
  test_baker.R..................    0 tests    
  test_baker.R..................    5 tests [0;32mOK[0m [0;34m13.9s[0m
  
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    The variables '.Dtreat:first.treat::2006:year::2004', '.Dtreat:first.treat::2006:year::2005' and eight others have been removed because of collinearity (see $collin.var).
  
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................    0 tests    
  test_emfx.R...................   28 tests [0;31m8 fails[0m [0;34m14.2s[0m
  
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    0 tests    
  test_etwfe.R..................    1 tests [0;32mOK[0m 
  test_etwfe.R..................    2 tests [0;32mOK[0m 
  test_etwfe.R..................    3 tests [0;32mOK[0m 
  test_etwfe.R..................    3 tests [0;32mOK[0m 
  test_etwfe.R..................    4 tests [0;32mOK[0m 
  test_etwfe.R..................    4 tests [0;32mOK[0m 
  test_etwfe.R..................    5 tests [0;32mOK[0m 
  test_etwfe.R..................    6 tests [0;32mOK[0m The variables '.Dtreat:first.treat::2006:year::2004', '.Dtreat:first.treat::2006:year::2005' and eight others have been removed because of collinearity (see $collin.var).
  
  test_etwfe.R..................    6 tests [0;32mOK[0m 
  test_etwfe.R..................    7 tests [0;32mOK[0m [0;34m0.9s[0m
  
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    0 tests    
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    1 tests [0;32mOK[0m 
  test_xvar.R...................    9 tests [0;31m4 fails[0m [0;34m32.9s[0m
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e3[[col]], calendar_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.606639
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e4[[col]], group_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.5381955
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e3[[col]], calendar_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.4100068
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e4[[col]], group_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.1703055
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e3[[col]], calendar_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.39868
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e4[[col]], group_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.3799772
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e3[[col]], calendar_known[[col]], tolerance = tol)
   diff| Mean relative difference: 1.197389
  ----- FAILED[data]: test_emfx.R<147--155>
   call| expect_equivalent(e4[[col]], group_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.928392
  ----- FAILED[data]: test_xvar.R<227--230>
   call| expect_equivalent(sim_es[[col]], sim_es_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.5117836
  ----- FAILED[data]: test_xvar.R<227--230>
   call| expect_equivalent(sim_es[[col]], sim_es_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.3370454
  ----- FAILED[data]: test_xvar.R<227--230>
   call| expect_equivalent(sim_es[[col]], sim_es_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.5121404
  ----- FAILED[data]: test_xvar.R<227--230>
   call| expect_equivalent(sim_es[[col]], sim_es_known[[col]], tolerance = tol)
   diff| Mean relative difference: 0.5114274
  Error: 12 out of 49 tests failed
  Execution halted