kenkellner / jagsUI

R package to Run JAGS (Just Another Gibbs Sampler) analyses from within R
https://kenkellner.github.io/jagsUI/
34 stars 8 forks source link

Fix test issues on R-devel #31

Closed kenkellner closed 4 years ago

kenkellner commented 4 years ago
── 1. Failure: autojags() returns correct output structure (@test_autojags.fit.R

as.character(unlist(sapply(out, class))) not equal to c(...).

Lengths differ: 22 is not 21

── 2. Failure: jags() returns correct output structure (@test_jags_fit.R#39)  ──

as.character(unlist(sapply(out, class))) not equal to c(...).

Lengths differ: 23 is not 22

── 3. Failure: mcmc_to_mat converts properly (@test_mcmc_tools.R#89)  ──────────

class(mat) not equal to "matrix".

Lengths differ: 2 is not 1

── 4. Failure: Updating models from jags() works (@test_model_update.R#40)  ────

as.character(unlist(sapply(out2, class))) not equal to c(...).

Lengths differ: 22 is not 21

── 5. Failure: get_posterior_array output structure is correct (@test_output_pro

class(out) not equal to "matrix".

Lengths differ: 2 is not 1

── 6. Failure: sims_list generates correct sims.list (@test_output_processing.R#

sapply(out, class) not equal to c(...).

Modes: list, character

Component "mu": Lengths (2, 1) differ (string compare on first 1)
kenkellner commented 4 years ago

Fixed in b6d35b3 and 03cb021