- using R version 4.0.3 Patched (2020-12-21 r79673)
- using platform: i386-pc-solaris2.10 (32-bit)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘bcgam/DESCRIPTION’ ... OK
- this is package ‘bcgam’ version ‘1.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 ‘bcgam’ can be installed ... OK
- checking installed package size ... OK
- checking package 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 ... [24s/29s] 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 examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [26s/36s] ERROR
Running ‘testthat.R’ [25s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(bcgam)
Loading required package: nimble
nimble version 0.10.1 is loaded.
For more information on NIMBLE and a User Manual,
please visit http://R-nimble.org.
Attaching package: 'nimble'
The following object is masked from 'package:stats':
simulate
>
> test_check("bcgam")
===== Monitors =====
thin = 1: tau, betalpha
===== Samplers =====
conjugate sampler (5)
- tau
- betalpha[] (4 elements)
RW sampler (10)
- betalpha[] (10 elements)
thin = 1: tau, betalpha, sigma, eta
══ Warnings ════════════════════════════════════════════════════════════════════
── Warning (testthat.R:3:1): (code run outside of `test_that()`) ───────────────
non-list contrasts argument ignored
Backtrace:
1. bcgam::bcgam(...) testthat.R:3:0
3. stats::model.matrix.default(mt, mf, contrasts)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (testthat.R:3:1): (code run outside of `test_that()`) ─────────────────
Error: Failed to create the shared library. Run 'printErrors()' to see the compilation errors.
Backtrace:
█
1. └─bcgam::bcgam(...) testthat.R:3:0
2. └─bcgam:::bcgam.fit(...)
3. └─nimble::compileNimble(gaus)
4. └─project$compileModel(units[[i]], control = control, showCompilerOutput = showCompilerOutput)
5. └─cppProj$compileFile(compileList, showCompilerOutput)
6. └─nimble:::compileDynamicRegistrations(showCompilerOutput = showCompilerOutput)
7. └─nimble:::compileStaticCode(dllName, cppName, showCompilerOutput)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR