- using R Under development (unstable) (2026-09-02 r90473)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-1) 16.2.0
GNU Fortran (Debian 16.2.0-1) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-09-03 12:36:57 UTC
- checking for file ‘PosteriorBootstrap/DESCRIPTION’ ... OK
- this is package ‘PosteriorBootstrap’ version ‘0.1.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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>.
- 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 serialization versions ... OK
- checking whether package ‘PosteriorBootstrap’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking whether startup messages can be suppressed ... [0s/0s] 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 ... [3s/5s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/7s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] 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
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE