CRAN Package Check Results for Package PosteriorBootstrap

Last updated on 2026-09-04 02:51:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 1.91 482.50 484.41 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.2 1.34 29.15 30.49 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.2 337.21 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 399.95 OK
r-devel-windows-x86_64 0.1.2 4.00 62.00 66.00 OK
r-patched-linux-x86_64 0.1.2 1.39 505.91 507.30 OK
r-release-linux-x86_64 0.1.2 1.68 506.41 508.09 OK
r-release-macos-arm64 0.1.2 1.00 175.00 176.00 OK
r-release-macos-x86_64 0.1.2 4.00 676.00 680.00 OK
r-release-windows-x86_64 0.1.2 4.00 58.00 62.00 OK
r-oldrel-macos-arm64 0.1.2 OK
r-oldrel-macos-x86_64 0.1.2 3.00 869.00 872.00 OK
r-oldrel-windows-x86_64 0.1.2 4.00 70.00 74.00 OK

Check Details

Version: 0.1.2
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘James Robinson <james.em.robinson@gmail.com>’ The Description field contains <arXiv:1806.11544>. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.2
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/7s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > testthat::test_check("PosteriorBootstrap") Loading required package: PosteriorBootstrap Welcome to PosteriorBootstrap, a parallel approach for adaptive non-parametric learning Saving _problems/test_anpl-175.R [ FAIL 1 | WARN 0 | SKIP 3 | PASS 51 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_anpl.R:116:3', 'test_anpl.R:123:3', 'test_german_data.R:39:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_anpl.R:175:3'): Adaptive non-parametric learning with posterior samples works ── Error in `stanc(file = file, model_code = model_code, model_name = model_name, verbose = verbose, obfuscate_model_name = obfuscate_model_name, allow_undefined = allow_undefined, allow_optimizations = allow_optimizations, standalone_functions = standalone_functions, use_opencl = use_opencl, warn_pedantic = warn_pedantic, warn_uninitialized = warn_uninitialized, isystem = isystem)`: 0 Syntax error in 'string', line 6, column 25 to column 26, parsing error: ------------------------------------------------- 4: int<lower=0> p; // number of covariates 5: matrix[n,p] x; // Matrix of covariates 6: int<lower=0,upper=1> y[n]; // Responses ^ 7: real<lower=0> beta_sd; // Stdev of beta 8: } ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[n] int<lower=0, upper=1> y; Backtrace: ▆ 1. └─rstan::stan_model(file = get_stan_file()) at test_anpl.R:175:3 2. └─rstan::stanc(...) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 51 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘PosteriorBootstrap.Rmd’ using rmarkdown_notangle Quitting from PosteriorBootstrap.Rmd:151-159 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `stanc()`: ! 0 Syntax error in 'string', line 6, column 25 to column 26, parsing error: ------------------------------------------------- 4: int<lower=0> p; // number of covariates 5: matrix[n,p] x; // Matrix of covariates 6: int<lower=0,upper=1> y[n]; // Responses ^ 7: real<lower=0> beta_sd; // Stdev of beta 8: } ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[n] int<lower=0, upper=1> y; --- Backtrace: ▆ 1. └─rstan::stan(...) 2. └─rstan::stan_model(...) 3. └─rstan::stanc(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'PosteriorBootstrap.Rmd' failed with diagnostics: 0 Syntax error in 'string', line 6, column 25 to column 26, parsing error: ------------------------------------------------- 4: int<lower=0> p; // number of covariates 5: matrix[n,p] x; // Matrix of covariates 6: int<lower=0,upper=1> y[n]; // Responses ^ 7: real<lower=0> beta_sd; // Stdev of beta 8: } ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[n] int<lower=0, upper=1> y; --- failed re-building ‘PosteriorBootstrap.Rmd’ SUMMARY: processing the following file failed: ‘PosteriorBootstrap.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc