R package with snippets