R Under development (unstable) (2024-07-08 r86886 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(compareMCMCs) Loading required package: nimble nimble version 1.2.0 is loaded. For more information on NIMBLE and a User Manual, please visit https://R-nimble.org. Note for advanced users who have written their own MCMC samplers: As of version 0.13.0, NIMBLE's protocol for handling posterior predictive nodes has changed in a way that could affect user-defined samplers in some situations. Please see Section 15.5.1 of the User Manual. Attaching package: 'nimble' The following object is masked from 'package:stats': simulate The following object is masked from 'package:base': declare > > test_check("compareMCMCs") Defining model Building model Running calculate on model [Note] Any error reports that follow may simply reflect missing values in model variables. Checking model sizes and dimensions [Note] This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization). ===== Monitors ===== thin = 1: a ===== Samplers ===== posterior_predictive sampler (1) - a Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. |-------------|-------------|-------------|-------------| |-------------------------------------------------------| building nimble model... Defining model [Note] Using 'y' (given within 'constants') as data. Building model Setting data and initial values Running calculate on model [Note] Any error reports that follow may simply reflect missing values in model variables. Checking model sizes and dimensions ===== Monitors ===== thin = 1: a ===== Samplers ===== slice sampler (1) - a ===== Monitors ===== thin = 1: a ===== Samplers ===== slice sampler (1) - a ===== Monitors ===== thin = 1: a ===== Samplers ===== slice sampler (1) - a Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. |-------------|-------------|-------------|-------------| |-------------------------------------------------------| |-------------|-------------|-------------|-------------| |-------------------------------------------------------| |-------------|-------------|-------------|-------------| |-------------------------------------------------------| Defining model [Note] Using 'y' (given within 'constants') as data. Building model Setting data and initial values Running calculate on model [Note] Any error reports that follow may simply reflect missing values in model variables. Checking model sizes and dimensions Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. ===== Monitors ===== thin = 1: a ===== Samplers ===== RW sampler (1) - a ===== Monitors ===== thin = 1: a ===== Samplers ===== slice sampler (1) - a Compiling [Note] This may take a minute. [Note] Use 'showCompilerOutput = TRUE' to see C++ compilation details. |-------------|-------------|-------------|-------------| |-------------------------------------------------------| |-------------|-------------|-------------|-------------| |-------------------------------------------------------| Error about `[[<-.data.frame` is expected. Error in `[[<-.data.frame`(`*tmp*`, new_column_name, value = c(1, 1, 1, : replacement has 4 rows, data has 5 Loading required namespace: xtable [ FAIL 0 | WARN 0 | SKIP 0 | PASS 112 ] > > proc.time() user system elapsed 34.09 2.67 119.15