Skip to content

CRAN issues #75

@osorensen

Description

@osorensen

The following issues have appeared after the package got released to CRAN.

Dear maintainer,

Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_BayesMallowsSMC2.html.

Please correct before 2026-02-18 to safely retain your package on CRAN.

Do remember to look at the 'Additional issues'.

The CRAN Team

Here is a summary:

  • On r-oldrel-macos

checking tests ... [7s/7s] ERROR
Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:

This file is part of the standard setup for testthat.

It is recommended that you do not modify it.

Where should you do additional test configuration?

Learn more about the roles of various files in:

* https://r-pkgs.org/testing-design.html#sec-tests-files-overview

* https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(BayesMallowsSMC2)

test_check("BayesMallowsSMC2")
Saving _problems/test-compute_sequentially_partial-11.R
BayesMallowsSMC2 Model
======================

Number of particles: 100
Number of timepoints: 100
Number of items: 5
Number of clusters: 1

Log marginal likelihood: -472.34
Final ESS: 63.55
Resampling events: 5/100
BayesMallowsSMC2 Model

Number of particles: 100
Number of timepoints: 100
Number of items: 5
Number of clusters: 1

Log marginal likelihood: -472.34
Final ESS: 63.55
Resampling events: 5/100
BayesMallowsSMC2 Model

Number of particles: 50
Number of timepoints: 100
Number of items: 5
Number of clusters: 1

Log marginal likelihood: -445.30
Final ESS: 35.39
Resampling events: 4/100
BayesMallowsSMC2 Model Summary

Number of particles: 100
Number of timepoints: 100
Number of items: 5
Number of clusters: 1

Log marginal likelihood: -472.34
Final ESS: 63.55
Resampling events: 5/100

Posterior Statistics for Alpha:

Cluster 1: Mean = 0.0359, SD = 0.0238
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-compute_sequentially_partial.R:11:3'): compute_sequentially works with partial data ──
Expected alpha_hat > 0.06.
Actual comparison: 0.046 <= 0.060
Difference: -0.014 <= 0

[ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
Error:
! Test failures.
Execution halted
checking PDF version of manual ... [2s/2s] OK
DONE
Status: 1 ERROR, 1 NOTE

  • on noLD:
  • checking tests ...
    Running ‘testthat.R’ [56s/67s]
    [56s/68s] ERROR
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    This file is part of the standard setup for testthat.

    It is recommended that you do not modify it.

    Where should you do additional test configuration?

    Learn more about the roles of various files in:

    * https://r-pkgs.org/testing-design.html#sec-tests-files-overview

    * https://testthat.r-lib.org/articles/special-files.html

    library(testthat)
    library(BayesMallowsSMC2)

    test_check("BayesMallowsSMC2")
    Saving _problems/test-compute_sequentially_partial-11.R
    BayesMallowsSMC2 Model
    ======================

    Number of particles: 100
    Number of timepoints: 100
    Number of items: 5
    Number of clusters: 1

    Log marginal likelihood: -472.34
    Final ESS: 63.55
    Resampling events: 5/100
    BayesMallowsSMC2 Model

    Number of particles: 100
    Number of timepoints: 100
    Number of items: 5
    Number of clusters: 1

    Log marginal likelihood: -472.34
    Final ESS: 63.55
    Resampling events: 5/100
    BayesMallowsSMC2 Model

    Number of particles: 50
    Number of timepoints: 100
    Number of items: 5
    Number of clusters: 1

    Log marginal likelihood: -445.30
    Final ESS: 35.39
    Resampling events: 4/100
    BayesMallowsSMC2 Model Summary

    Number of particles: 100
    Number of timepoints: 100
    Number of items: 5
    Number of clusters: 1

    Log marginal likelihood: -472.34
    Final ESS: 63.55
    Resampling events: 5/100

    Posterior Statistics for Alpha:

    Cluster 1: Mean = 0.0359, SD = 0.0238
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Failure ('test-compute_sequentially_partial.R:11:3'): compute_sequentially works with partial data ──
    Expected alpha_hat > 0.06.
    Actual comparison: 0.046 <= 0.060
    Difference: -0.014 <= 0

    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
    Error:
    ! Test failures.
    Execution halted

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions