error catching function
begin error catching
sync vignettes to GitHub, so that they install using devtools::install_github