an example of packaging a stan model into an R package