tests/zero-error.R

 library(mcmc)

# should give intelligible error (unlike before ver 0.9-8)

 suppressMessages(try(metrop(function(x) x, double(0), nbatch = 10)))

Try the mcmc package in your browser

Any scripts or data that you put into this service are public.

mcmc documentation built on Nov. 17, 2023, 1:06 a.m.