CRAN Package Check Results for Package posterior

Last updated on 2022-05-21 10:50:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 12.59 151.47 164.06 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.1 8.72 110.81 119.53 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 190.78 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 186.50 OK
r-devel-windows-x86_64 1.2.1 171.00 205.00 376.00 OK
r-patched-linux-x86_64 1.2.1 15.24 141.49 156.73 OK
r-release-linux-x86_64 1.2.1 10.67 142.16 152.83 OK
r-release-macos-arm64 1.2.1 55.00 OK
r-release-macos-x86_64 1.2.1 111.00 OK
r-release-windows-x86_64 1.2.1 145.00 209.00 354.00 OK
r-oldrel-macos-arm64 1.2.1 48.00 OK
r-oldrel-macos-x86_64 1.2.1 71.00 OK
r-oldrel-windows-ix86+x86_64 1.2.1 24.00 195.00 219.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [32s/40s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(posterior)
     This is posterior version 1.2.1
    
     Attaching package: 'posterior'
    
     The following objects are masked from 'package:stats':
    
     mad, sd, var
    
     >
     > test_check("posterior")
     [ FAIL 1 | WARN 1 | SKIP 3 | PASS 1009 ]
    
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Failure (test-print.R:57:3): print.draws_rvars runs without errors ----------
     `print(x)` does not match "A draws_rvars: 100 iterations, 4 chains, and 3 variables".
     Actual value: "# A draws_rvars: 100 iterations, 4 chains, and 3 variables\n$mu: rvar<100,4>[1] mean \xb1 sd:\n[1] 4.2 \xb1 3.4 \n\n$tau: rvar<100,4>[1] mean \xb1 sd:\n[1] 4.2 \xb1 3.6 \n\n$theta: rvar<100,4>[8] mean \xb1 sd:\n[1] 6.7 \xb1 6.3 5.3 \xb1 4.6 3.0 \xb1 6.8 4.9 \xb1 4.9 3.2 \xb1 5.1 4.0 \xb1 5.2 6.5 \xb1 5.3 \n[8] 4.6 \xb1 5.3 \n"
     Backtrace:
     x
     1. \-testthat::expect_output(...) at test-print.R:57:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
    
     [ FAIL 1 | WARN 1 | SKIP 3 | PASS 1009 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang