- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'dRiftDM/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'dRiftDM' version '0.3.2'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'dRiftDM' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [30s] OK
- checking Rd files ... [5s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [24s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [88s] ERROR
Running 'testthat.R' [88s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [128s] OK
- checking PDF version of manual ... [27s] OK
- checking HTML version of manual ... [35s] OK
- DONE
Status: 1 ERROR