* using log directory 'd:/Rcompile/CRANpkg/local/4.0/bayesnec.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'bayesnec/DESCRIPTION' ... OK * this is package 'bayesnec' version '2.0.2.3' * 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 ... 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [28s] OK * checking Rd files ... 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 ... 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 ... [34s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [465s] ERROR Running 'testthat.R' [464s] 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.17.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 > > test_check("bayesnec") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union All models failed the rhat_cutoff of 1 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. Probability density plots saved to file Ql9v9w9MH3sUp8L.pdf [ FAIL 4 | WARN 0 | SKIP 0 | PASS 402 ] == Failed tests ================================================================ -- Failure (test-define_prior.R:83:3): check proper output structure ----------- p_b$bound[p_b$nlpar == "top"] == "" is not TRUE `actual`: `expected`: TRUE -- Failure (test-define_prior.R:84:3): check proper output structure ----------- p_b$bound[p_b$nlpar == "bot"] == "" is not TRUE `actual`: `expected`: TRUE -- Failure (test-define_prior.R:87:3): check proper output structure ----------- p_c$bound[p_c$nlpar == "top"] == "" is not FALSE `actual`: `expected`: FALSE -- Failure (test-define_prior.R:88:3): check proper output structure ----------- p_c$bound[p_c$nlpar == "bot"] == "" is not FALSE `actual`: `expected`: FALSE [ FAIL 4 | WARN 0 | SKIP 0 | PASS 402 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR