* using log directory 'd:/Rcompile/CRANpkg/local/4.6/bayesnec.Rcheck' * using R Under development (unstable) (2025-08-09 r88550 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'bayesnec/DESCRIPTION' ... OK * this is package 'bayesnec' version '2.1.3.0' * 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 'bayesnec' can be installed ... OK * checking installed package size ... INFO installed size is 5.3Mb sub-directories of 1Mb or more: data 3.7Mb doc 1.0Mb * 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 ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [4s] OK * checking whether the package can be unloaded cleanly ... [4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [4s] 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 ... [15s] OK * checking Rd files ... [1s] 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 ... [10s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... 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 ... [30s] ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(bayesnec) Loading required package: brms Loading required package: Rcpp Loading 'brms' package (version 2.22.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Loading required package: ggplot2 Attaching package: 'bayesnec' The following object is masked from 'package:stats': step > > test_check("bayesnec") Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link. Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link. Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a log link. Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link. Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link. Dropping the model(s) neclin, neclinhorme, ecxlin as they are not valid in the case of a beta with identity link. Dropping the model(s) neclin, neclinhorme, ecxlin as they are not valid in the case of a binomial with identity link. Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a poisson with identity link. Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a negbinomial with identity link. Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a Gamma with identity link. Dropping the model(s) nec3param, ecxexp as they are not valid in the case of Gaussian y data. [ FAIL 4 | WARN 0 | SKIP 37 | PASS 265 ] ══ Skipped tests (37) ══════════════════════════════════════════════════════════ • On CRAN (37): 'test-amend.R:3:5', 'test-bayesmanec_methods.R:7:5', 'test-bayesmanec_methods.R:21:5', 'test-bayesmanec_methods.R:30:5', 'test-bayesmanec_methods.R:41:5', 'test-bayesmanec_methods.R:53:5', 'test-bayesmanec_methods.R:66:5', 'test-check_chains.R:3:5', 'test-check_chains.R:10:5', 'test-check_priors.R:3:5', 'test-check_priors.R:13:5', 'test-ecx.R:3:5', 'test-ecx.R:28:5', 'test-ecx.R:41:5', 'test-ecx.R:69:5', 'test-ecx.R:78:5', 'test-ecx.R:87:5', 'test-ecx.R:96:5', 'test-ecx.R:104:5', 'test-ecx.R:112:5', 'test-expand_classes.R:6:5', 'test-expand_classes.R:24:5', 'test-expand_classes.R:43:5', 'test-expand_classes.R:61:5', 'test-expand_classes.R:80:5', 'test-expand_classes.R:97:5', 'test-expand_classes.R:109:5', 'test-expand_classes.R:121:5', 'test-expand_classes.R:136:5', 'test-nsec.R:3:5', 'test-nsec.R:27:5', 'test-nsec.R:57:5', 'test-nsec.R:66:5', 'test-nsec.R:76:5', 'test-nsec.R:85:5', 'test-nsec.R:93:5', 'test-nsec.R:101:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-model.frame.R:10:3'): correct classes ──────────────────────── names(attributes(a)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`). `actual`: "names" "class" "row.names" "terms" "bnec_pop" "bnec_group" `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group" ── Failure ('test-model.frame.R:20:3'): correct classes ──────────────────────── names(attributes(b)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`). `actual`: "names" "class" "row.names" "terms" "bnec_pop" "bnec_group" `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group" ── Failure ('test-model.frame.R:32:3'): correct classes ──────────────────────── names(attributes(c_)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`). `actual`: "names" "class" "row.names" "terms" "bnec_pop" "bnec_group" `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group" ── Failure ('test-model.frame.R:44:3'): correct classes ──────────────────────── names(attributes(d)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`). `actual`: "names" "class" "row.names" "terms" "bnec_pop" "bnec_group" `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group" [ FAIL 4 | WARN 0 | SKIP 37 | PASS 265 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [11s] OK * DONE Status: 1 ERROR