Running examples in 'bayesQR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bayesQR
> ### Title: Bayesian quantile regression
> ### Aliases: bayesQR
> 
> ### ** Examples
> 
> # Simulate data from heteroskedastic regression
> set.seed(66)
> n <- 200
> X <- runif(n=n,min=0,max=10)
> X <- X
> y <- 1 + 2*X + rnorm(n=n, mean=0, sd=.6*X)
> 
> # Estimate series of quantile regressions with adaptive lasso
> # NOTE: to limit execution time of the example, ndraw is set
> #       to a very low value. Set value to 5000 for a better
> #       approximation of the posterior distirubtion.
> out <- bayesQR(y~X, quantile=c(.05,.25,.5,.75,.95), alasso=TRUE, ndraw=500)
************************************************ 
* Start estimating quantile  1  of  5 in total * 
************************************************ 
Current iteration :
[1] 500
************************************************ 
* Start estimating quantile  2  of  5 in total * 
************************************************ 
Current iteration :
[1] 500
************************************************ 
* Start estimating quantile  3  of  5 in total * 
************************************************ 
Current iteration :
[1] 500
************************************************ 
* Start estimating quantile  4  of  5 in total * 
************************************************ 
Current iteration :
[1] 500
************************************************ 
* Start estimating quantile  5  of  5 in total * 
************************************************ 
Current iteration :
[1] 500
> 
> # Initiate plot
> ## Plot datapoints
> plot(X, y, main="", cex=.6, xlab="X")
> 
> ## Add quantile regression lines to the plot (exclude first 500 burn-in draws)
> sum <- summary(out, burnin=50)
Error in quantile.default(newX[, i], ...) : 
  missing values and NaN's not allowed if 'na.rm' is FALSE
Calls: summary ... FUN -> cbind -> t -> apply -> FUN -> quantile.default
Execution halted