protect a few examples with if(require) 

Now examples run in `R CMD check` for me -- but I didn't uninstall some packages I have here (eg RPostgreSQL, RSQLite, knitr).  It is not perfect, but it kicks the can a little down the road.