Running ‘testthat.R’ [12m/34m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(radEmu)
  Loading required package: MASS
  Loading required package: Matrix
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: rlang
  
  Attaching package: 'rlang'
  
  The following object is masked from 'package:magrittr':
  
      set_names
  
  > 
  > test_check("radEmu")
  Saving _problems/test-macro_fisher_null-447.R
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 237 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • Deterministic, slow to run but passes when tested (1): 'test-fit_null.R:3:3'
  • Skipping -- a simulation for T1E under cluster dependence. (1):
    'test-cluster.R:70:3'
  • Skipping -- test requires fitting models to 100 simulated datasets. (1):
    'test-emuFit.R:181:3'
  • Skipping because test is very slow with J = 100 and p = 8 (1):
    'test-emuFit_micro.R:327:3'
  • Skipping test that requires 1000 simulations be run (1):
    'test-get_score_stat.R:103:3'
  • Too slow for automated testing; ~3 mins on laptop (1):
    'test-fit_null_discrete.R:177:3'
  • confirmed this works but it is too slow for automated testing runs (1):
    'test-fit_null_symmetric.R:95:3'
  • don't want to test automatically (7): 'test-fit_null_discrete.R:433:3',
    'test-fit_null_discrete.R:487:3', 'test-fit_null_discrete.R:540:3',
    'test-fit_null_discrete.R:593:3', 'test-fit_null_symmetric.R:282:3',
    'test-fit_null_symmetric_subset.R:350:3',
    'test-fit_null_symmetric_subset.R:439:3'
  • long for automatic testing (4): 'test-fit_null_discrete.R:262:3',
    'test-fit_null_discrete.R:295:3', 'test-fit_null_symmetric.R:33:3',
    'test-fit_null_symmetric.R:56:3'
  • takes too long in automated testing (1):
    'test-fit_null_symmetric_subset.R:54:3'
  • too long for automated testing (2): 'test-emuFit_micro_discrete.R:149:3',
    'test-emuFit_micro_discrete.R:178:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-macro_fisher_null.R:447:3'): We take same step as we'd take using numerical derivatives when gap, rho, u are zero ──
  Expected `macro_time[3] < 15` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 237 ]
  Error:
  ! Test failures.
  Execution halted