Running 'testthat.R' [301s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # On cran, all code may only use 2 threads.
  > # For some reason, threads=2 and threads=1 still results in "Running R code in ‘testthat.R’ had CPU time 3.2 (2.8) times elapsed time"
  > # Therefore set to single threaded (same as Win) and also set threads for openMP.
  > # As per the example in https://github.com/Rdatatable/data.table/issues/5658#issuecomment-1741934995, this is done before loading any packages
  > # check for cran is from testthat:::on_cran()
  > if(!identical(Sys.getenv("NOT_CRAN"), "true")){
  +   Sys.setenv("OMP_THREAD_LIMIT" = 1)
  +   data.table::setDTthreads(threads = 1)
  + }
  > 
  > library("testthat")
  > library("lubridate")
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > library("data.table")
  
  Attaching package: 'data.table'
  
  The following objects are masked from 'package:lubridate':
  
      hour, isoweek, mday, minute, month, quarter, second, wday, week,
      yday, year
  
  > library("CLVTools")
  > 
  > 
  > test_check("CLVTools")
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  The time of day stored in the provided data (of type POSIXct) is ignored (cut off).
  [ FAIL 0 | WARN 0 | SKIP 214 | PASS 2207 ]
  
  ══ Skipped tests (214) ═════════════════════════════════════════════════════════
  • On CRAN (214): 'test_consistency_bgnbd.R:1:1',
    'test_consistency_ggomnbd.R:1:1', 'test_consistency_pnbd.R:1:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:6:1', 'test_correctness_bgnbd.R:6:1',
    'test_correctness_bgnbd.R:16:1', 'test_correctness_bgnbd.R:24:3',
    'test_correctness_bgnbd.R:50:3', 'test_correctness_clvdata_clvdata.R:13:3',
    'test_correctness_clvdata_clvdata.R:91:3',
    'test_correctness_clvdata_clvdata.R:119:3',
    'test_correctness_clvdata_clvdata.R:156:3',
    'test_correctness_clvdata_clvdata.R:169:3',
    'test_correctness_clvdata_clvdata.R:191:3',
    'test_correctness_clvdata_clvdata.R:211:3',
    'test_correctness_clvdata_clvdata.R:223:3',
    'test_correctness_clvdata_clvdata.R:238:3',
    'test_correctness_clvdata_clvdata.R:248:3',
    'test_correctness_clvdata_clvdata.R:260:3',
    'test_correctness_clvdata_s3.R:6:3', 'test_correctness_clvdata_s3.R:61:3',
    'test_correctness_clvdata_s3.R:71:3', 'test_correctness_clvdata_s3.R:83:3',
    'test_correctness_clvdata_s3.R:94:3', 'test_correctness_clvdata_s3.R:102:3',
    'test_correctness_clvdata_s3.R:114:3', 'test_correctness_clvdata_s3.R:126:3',
    'test_correctness_clvdata_s3.R:145:3', 'test_correctness_clvdata_s3.R:174:3',
    'test_correctness_clvdata_s3.R:236:3', 'test_correctness_clvdata_s3.R:247:3',
    'test_correctness_clvdata_s3.R:256:3', 'test_correctness_clvdata_s3.R:274:3',
    'test_correctness_clvdata_s3.R:289:3', 'test_correctness_clvdata_s3.R:310:3',
    'test_correctness_clvdata_s3.R:328:3', 'test_correctness_clvdata_s3.R:345:3',
    'test_correctness_clvdata_s3.R:366:3',
    'test_correctness_clvdata_setdynamiccov.R:64:3',
    'test_correctness_clvdata_setdynamiccov.R:103:3',
    'test_correctness_clvdata_setdynamiccov.R:129:3',
    'test_correctness_clvdata_setdynamiccov.R:157:3',
    'test_correctness_clvdata_setdynamiccov.R:189:3',
    'test_correctness_clvdata_setdynamiccov.R:218:3',
    'test_correctness_clvdata_setdynamiccov.R:252:3',
    'test_correctness_clvdata_setdynamiccov.R:278:3',
    'test_correctness_clvdata_setstaticcov.R:54:3',
    'test_correctness_clvdata_setstaticcov.R:95:3',
    'test_correctness_clvdata_setstaticcov.R:110:3',
    'test_correctness_clvdata_setstaticcov.R:127:3',
    'test_correctness_clvdata_setstaticcov.R:141:3',
    'test_correctness_clvdata_setstaticcov.R:155:3',
    'test_correctness_clvdata_setstaticcov.R:168:3',
    'test_correctness_clvdata_setstaticcov.R:184:3',
    'test_correctness_clvdata_setstaticcov.R:208:3',
    'test_correctness_dynamiccov_walkcreation.R:1:1',
    'test_correctness_gg.R:5:1', 'test_correctness_gg.R:5:1',
    'test_correctness_gg.R:5:1', 'test_correctness_gg.R:5:1',
    'test_correctness_gg.R:5:1', 'test_correctness_gg.R:5:1',
    'test_correctness_gg.R:5:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:7:1', 'test_correctness_ggomnbd.R:7:1',
    'test_correctness_ggomnbd.R:17:1', 'test_correctness_ggomnbd.R:83:3',
    'test_correctness_ggomnbd.R:101:3', 'test_correctness_latentattrition.R:1:1',
    'test_correctness_pnbd_dyncov.R:4:3',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:7:1',
    'test_correctness_pnbd_nocovstaticcov.R:18:1',
    'test_correctness_pnbd_nocovstaticcov.R:47:3',
    'test_correctness_pnbd_nocovstaticcov.R:62:3',
    'test_correctness_pnbd_nocovstaticcov.R:85:3',
    'test_correctness_spending.R:1:1', 'test_inputchecks_bgnbd_nocov.R:13:1',
    'test_inputchecks_bgnbd_nocov.R:13:1', 'test_inputchecks_bgnbd_nocov.R:13:1',
    'test_inputchecks_bgnbd_nocov.R:13:1', 'test_inputchecks_bgnbd_nocov.R:13:1',
    'test_inputchecks_bgnbd_nocov.R:13:1', 'test_inputchecks_bgnbd_nocov.R:13:1',
    'test_inputchecks_bgnbd_staticcov.R:4:1',
    'test_inputchecks_bgnbd_staticcov.R:4:1',
    'test_inputchecks_clvdata_plot.R:2:1', 'test_inputchecks_gg.R:11:1',
    'test_inputchecks_gg.R:11:1', 'test_inputchecks_gg.R:11:1',
    'test_inputchecks_gg.R:11:1', 'test_inputchecks_gg.R:11:1',
    'test_inputchecks_gg.R:11:1', 'test_inputchecks_gg.R:11:1',
    'test_inputchecks_gg.R:11:1', 'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_nocov.R:16:1',
    'test_inputchecks_ggomnbd_staticcov.R:4:1',
    'test_inputchecks_ggomnbd_staticcov.R:4:1',
    'test_inputchecks_latentattrition.R:1:1',
    'test_inputchecks_plot_spending.R:25:1',
    'test_inputchecks_plot_transactions.R:174:1', 'test_inputchecks_pmf.R:1:1',
    'test_inputchecks_pnbd_nocov.R:8:1', 'test_inputchecks_pnbd_nocov.R:8:1',
    'test_inputchecks_pnbd_nocov.R:8:1', 'test_inputchecks_pnbd_nocov.R:8:1',
    'test_inputchecks_pnbd_nocov.R:8:1', 'test_inputchecks_pnbd_nocov.R:8:1',
    'test_inputchecks_pnbd_nocov.R:8:1', 'test_inputchecks_pnbd_staticcov.R:4:1',
    'test_inputchecks_pnbd_staticcov.R:4:1',
    'test_inputchecks_predict_spending.R:27:3',
    'test_inputchecks_predict_spending.R:30:3',
    'test_inputchecks_predict_transactions.R:115:3',
    'test_inputchecks_predict_transactions.R:116:3',
    'test_inputchecks_predict_transactions.R:120:3',
    'test_inputchecks_predict_transactions.R:129:3',
    'test_inputchecks_predict_transactions.R:131:3',
    'test_inputchecks_predict_transactions.R:134:3',
    'test_inputchecks_predict_transactions.R:134:3',
    'test_inputchecks_predict_transactions.R:134:3',
    'test_inputchecks_predict_transactions.R:134:3',
    'test_inputchecks_predict_transactions.R:12:5',
    'test_inputchecks_predict_transactions.R:36:5',
    'test_inputchecks_predict_transactions.R:59:5',
    'test_inputchecks_predict_transactions.R:87:5',
    'test_inputchecks_predict_transactions.R:144:3',
    'test_inputchecks_predict_transactions.R:3:5',
    'test_inputchecks_spending.R:1:1', 'test_runability_bgnbd_nocov.R:1:1',
    'test_runability_bgnbd_staticcov.R:1:1',
    'test_runability_clvdata_clvdata.R:10:3',
    'test_runability_clvdata_clvdata.R:16:3',
    'test_runability_clvdata_clvdata.R:26:3',
    'test_runability_clvdata_clvdata.R:44:3',
    'test_runability_clvdata_clvdata.R:54:3',
    'test_runability_clvdata_clvdata.R:67:3',
    'test_runability_clvdata_clvdata.R:89:3',
    'test_runability_clvdata_clvdata.R:102:3',
    'test_runability_clvdata_clvdata.R:115:3',
    'test_runability_clvdata_clvdata.R:171:3',
    'test_runability_clvdata_clvdata.R:185:3',
    'test_runability_clvdata_clvdata.R:195:3',
    'test_runability_clvdata_clvdata.R:207:3',
    'test_runability_clvdata_clvdata.R:212:3',
    'test_runability_clvdata_clvdata.R:227:3',
    'test_runability_clvdata_clvdata.R:248:3',
    'test_runability_clvdata_s3.R:1:1',
    'test_runability_clvdata_setdynamiccov.R:2:1',
    'test_runability_clvdata_setstaticcov.R:24:3',
    'test_runability_clvdata_setstaticcov.R:45:3',
    'test_runability_clvdata_setstaticcov.R:58:3',
    'test_runability_clvdata_setstaticcov.R:71:3',
    'test_runability_clvdata_setstaticcov.R:85:3',
    'test_runability_clvdata_setstaticcov.R:102:3', 'test_runability_gg.R:1:1',
    'test_runability_ggomnbd_nocov.R:1:1',
    'test_runability_ggomnbd_staticcov.R:1:1',
    'test_runability_latentattrition.R:1:1',
    'test_runability_pnbd_dynamiccov.R:5:1', 'test_runability_pnbd_nocov.R:1:1',
    'test_runability_pnbd_staticcov.R:1:1', 'test_runability_spending.R:1:1'
  
  [ FAIL 0 | WARN 0 | SKIP 214 | PASS 2207 ]
  > 
  > proc.time()
     user  system elapsed 
   124.25    9.07  133.76