- using R Under development (unstable) (2025-08-09 r88544)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘bayesnec’ can be installed ... [46s/161s] OK
See the install log for details.
- 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 ... [7s/25s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/25s] OK
- checking whether the package can be unloaded cleanly ... [7s/22s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/26s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/34s] OK
- checking loading without being on the library search path ... [7s/22s] 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 ... [50s/184s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [17s/51s] 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 ... [21s/75s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [46s/132s] ERROR
Running ‘testthat.R’ [46s/131s]
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 ... [33s/85s] OK
- checking PDF version of manual ... [11s/29s] OK
- checking HTML version of manual ... [5s/19s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR