Running ‘testthat.R’ [43s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(dRiftDM)
  
   ____________________________________________________ 
  / Welcome to dRiftDM 0.3.2 Please report any bugs or \
  \ unexpected behavior                                /
   ---------------------------------------------------- 
        \
         \
  
          ^__^ 
          (oo)\ ________ 
          (__)\         )\ /\ 
               ||------w|
               ||      ||
  > 
  > test_check("dRiftDM")
  Saving _problems/test-core_bayes_estimate-1154.R
  Warning messages:
  1: In stats::pnorm(q = lower, mean = mean, sd = sd) : NaNs produced
  2: In stats::pnorm(q = upper, mean = mean, sd = sd) : NaNs produced
  3: In stats::runif(n = n, min = F_lower, max = F_upper) : NAs produced
  [ FAIL 1 | WARN 0 | SKIP 51 | PASS 1477 ]
  
  ══ Skipped tests (51) ══════════════════════════════════════════════════════════
  • On CRAN (51): 'test-core_estimate.R:3:1', 'test-core_estimate.R:186:1',
    'test-core_estimate.R:274:1', 'test-core_estimate.R:482:1',
    'test-core_estimate.R:527:1', 'test-core_estimate.R:736:1',
    'test-core_estimate.R:796:1', 'test-core_estimate_depr.R:153:1',
    'test-core_estimate_depr.R:178:1', 'test-core_flex_prms.R:100:1',
    'test-formatting_coefs_dm.R:1:1', 'test-formatting_coefs_dm.R:20:1',
    'test-formatting_drift_dm.R:1:1', 'test-formatting_drift_dm.R:11:1',
    'test-formatting_drift_dm.R:19:1', 'test-formatting_fits_agg_dm.R:1:1',
    'test-formatting_fits_agg_dm.R:8:1', 'test-formatting_fits_ids_dm.R:1:1',
    'test-formatting_fits_ids_dm.R:19:1', 'test-formatting_fits_ids_dm.R:28:1',
    'test-formatting_flex_prms.R:1:1', 'test-formatting_mcmc_dm.R:1:1',
    'test-formatting_mcmc_dm.R:10:1', 'test-formatting_stats_dm.R:3:1',
    'test-formatting_stats_dm.R:23:1', 'test-formatting_stats_dm.R:31:1',
    'test-formatting_stats_dm.R:37:1', 'test-formatting_stats_dm.R:43:1',
    'test-formatting_stats_dm.R:56:1', 'test-formatting_stats_dm.R:65:1',
    'test-formatting_stats_dm.R:83:1', 'test-formatting_stats_dm.R:105:1',
    'test-formatting_stats_dm.R:123:1', 'test-formatting_stats_dm.R:143:1',
    'test-formatting_stats_dm.R:164:1', 'test-formatting_stats_dm.R:184:1',
    'test-formatting_stats_dm.R:209:1', 'test-formatting_stats_dm.R:227:1',
    'test-formatting_traces_dm.R:1:1', 'test-formatting_traces_dm.R:11:1',
    'test-formatting_traces_dm.R:22:1', 'test-formatting_traces_dm.R:73:1',
    'test-plotting.R:1:1', 'test-plotting.R:52:1', 'test-plotting.R:80:1',
    'test-plotting.R:117:1', 'test-plotting.R:156:1', 'test-plotting.R:201:1',
    'test-plotting.R:230:1', 'test-plotting.R:309:1', 'test-plotting.R:341:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-core_bayes_estimate.R:1143:3'): estimate_bayes_h runs and returns correct structure ──
  Error in `checkForRemoteErrors(val)`: one node produced an error: Error in prms_to_str(model_subj): prms argument not a valid numeric vector
  Backtrace:
      ▆
   1. └─dRiftDM:::estimate_bayes_h(...) at test-core_bayes_estimate.R:1143:3
   2.   └─parallel::parLapply(...)
   3.     ├─base::do.call(...)
   4.     └─parallel::clusterApply(...)
   5.       └─parallel:::staticClusterApply(cl, fun, length(x), argfun)
   6.         └─parallel:::checkForRemoteErrors(val)
  
  [ FAIL 1 | WARN 0 | SKIP 51 | PASS 1477 ]
  Error:
  ! Test failures.
  Execution halted