CRAN Package Check Results for Package posterior

Last updated on 2026-11-21 17:52:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.8.0 10.92 169.55 180.47 ERROR
r-devel-linux-x86_64-debian-gcc 1.8.0 8.33 116.29 124.62 ERROR
r-devel-linux-x86_64-fedora-clang 1.8.0 117.78 ERROR
r-devel-linux-x86_64-fedora-gcc 1.8.0 9.00 120.18 129.18 ERROR
r-devel-windows-x86_64 1.8.0 25.00 213.00 238.00 OK
r-patched-linux-x86_64 1.7.0 14.43 152.36 166.79 OK
r-release-linux-x86_64 1.7.0 12.23 152.81 165.04 OK
r-release-macos-arm64 1.8.0 3.00 44.00 47.00 OK
r-release-macos-x86_64 1.8.0 9.00 457.00 466.00 OK
r-release-windows-x86_64 1.8.0 20.00 216.00 236.00 OK
r-oldrel-macos-arm64 1.8.0 OK
r-oldrel-macos-x86_64 1.8.0 9.00 382.00 391.00 OK
r-oldrel-windows-x86_64 1.8.0 26.00 262.00 288.00 OK

Check Details

Version: 1.8.0
Check: tests
Result: ERROR Running ‘testthat.R’ [38s/47s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(posterior) This is posterior version 1.8.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match > > test_check("posterior") Saving _problems/test-rvar-cast-109.R Saving _problems/test-rvar-cast-147.R Saving _problems/test-rvar-summaries-over-draws-19.R Saving _problems/test-rvar-summaries-over-draws-108.R Saving _problems/test-rvar-summaries-within-draws-121.R [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-print.R:55:3', 'test-print.R:114:3', 'test-rstar.R:113:3', 'test-rvar-print.R:207:3', 'test-subset_draws.R:243:3', 'test-uniformity_test.R:43:3', 'test-uniformity_test.R:54:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rvar-cast.R:106:3'): as_rvar_factor works ────────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:106:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-cast.R:144:3'): as_rvar_ordered works ───────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:144:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-over-draws.R:16:18'): numeric summaries work ──── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:20:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─posterior (local) ordered_out(c(2, 6, 10, 14, 18, 22)) 5. └─base::structure(...) at test-rvar-summaries-over-draws.R:16:18 ── Error ('test-rvar-summaries-over-draws.R:103:3'): range works ─────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:103:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-within-draws.R:118:3'): rvar_quantile works ───── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-within-draws.R:118:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─posterior::rvar_ordered(...) 5. │ └─posterior::rvar_factor(...) 6. │ └─base::is.factor(x) 7. └─base::structure(...) [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.8.0
Check: tests
Result: ERROR Running ‘testthat.R’ [26s/32s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(posterior) This is posterior version 1.8.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match > > test_check("posterior") Saving _problems/test-rvar-cast-109.R Saving _problems/test-rvar-cast-147.R Saving _problems/test-rvar-summaries-over-draws-19.R Saving _problems/test-rvar-summaries-over-draws-108.R Saving _problems/test-rvar-summaries-within-draws-121.R [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-print.R:55:3', 'test-print.R:114:3', 'test-rstar.R:113:3', 'test-rvar-print.R:207:3', 'test-subset_draws.R:243:3', 'test-uniformity_test.R:43:3', 'test-uniformity_test.R:54:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rvar-cast.R:106:3'): as_rvar_factor works ────────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:106:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-cast.R:144:3'): as_rvar_ordered works ───────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:144:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-over-draws.R:16:18'): numeric summaries work ──── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:20:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─posterior (local) ordered_out(c(2, 6, 10, 14, 18, 22)) 5. └─base::structure(...) at test-rvar-summaries-over-draws.R:16:18 ── Error ('test-rvar-summaries-over-draws.R:103:3'): range works ─────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:103:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-within-draws.R:118:3'): rvar_quantile works ───── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-within-draws.R:118:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─posterior::rvar_ordered(...) 5. │ └─posterior::rvar_factor(...) 6. │ └─base::is.factor(x) 7. └─base::structure(...) [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.8.0
Check: tests
Result: ERROR Running ‘testthat.R’ [25s/27s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(posterior) This is posterior version 1.8.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match > > test_check("posterior") Saving _problems/test-rvar-cast-109.R Saving _problems/test-rvar-cast-147.R Saving _problems/test-rvar-summaries-over-draws-19.R Saving _problems/test-rvar-summaries-over-draws-108.R Saving _problems/test-rvar-summaries-within-draws-121.R [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-print.R:55:3', 'test-print.R:114:3', 'test-rstar.R:113:3', 'test-rvar-print.R:207:3', 'test-subset_draws.R:243:3', 'test-uniformity_test.R:43:3', 'test-uniformity_test.R:54:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rvar-cast.R:106:3'): as_rvar_factor works ────────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:106:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-cast.R:144:3'): as_rvar_ordered works ───────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:144:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-over-draws.R:16:18'): numeric summaries work ──── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:20:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─posterior (local) ordered_out(c(2, 6, 10, 14, 18, 22)) 5. └─base::structure(...) at test-rvar-summaries-over-draws.R:16:18 ── Error ('test-rvar-summaries-over-draws.R:103:3'): range works ─────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:103:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-within-draws.R:118:3'): rvar_quantile works ───── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-within-draws.R:118:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─posterior::rvar_ordered(...) 5. │ └─posterior::rvar_factor(...) 6. │ └─base::is.factor(x) 7. └─base::structure(...) [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.8.0
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/76s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(posterior) This is posterior version 1.8.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match > > test_check("posterior") Saving _problems/test-rvar-cast-109.R Saving _problems/test-rvar-cast-147.R Saving _problems/test-rvar-summaries-over-draws-19.R Saving _problems/test-rvar-summaries-over-draws-108.R Saving _problems/test-rvar-summaries-within-draws-121.R [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-print.R:55:3', 'test-print.R:114:3', 'test-rstar.R:113:3', 'test-rvar-print.R:207:3', 'test-subset_draws.R:243:3', 'test-uniformity_test.R:43:3', 'test-uniformity_test.R:54:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rvar-cast.R:106:3'): as_rvar_factor works ────────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:106:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-cast.R:144:3'): as_rvar_ordered works ───────────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-cast.R:144:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-over-draws.R:16:18'): numeric summaries work ──── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:20:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─posterior (local) ordered_out(c(2, 6, 10, 14, 18, 22)) 5. └─base::structure(...) at test-rvar-summaries-over-draws.R:16:18 ── Error ('test-rvar-summaries-over-draws.R:103:3'): range works ─────────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-over-draws.R:103:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::structure(...) ── Error ('test-rvar-summaries-within-draws.R:118:3'): rvar_quantile works ───── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rvar-summaries-within-draws.R:118:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─posterior::rvar_ordered(...) 5. │ └─posterior::rvar_factor(...) 6. │ └─base::is.factor(x) 7. └─base::structure(...) [ FAIL 5 | WARN 4 | SKIP 7 | PASS 2280 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.