UPDATE: reduced examples further to be CRAN conform