-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
65 lines (44 loc) · 1.79 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
format: gfm
default-image-extension: ""
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# mailmerge <img src='man/figures/logo.png' align="right" height="139" />
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/mailmerge)](https://CRAN.R-project.org/package=mailmerge)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/mailmerge)](https://www.r-pkg.org/package=miniCRAN)
[![R-CMD-check](https://github.com/andrie/mailmerge/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/andrie/mailmerge/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/andrie/mailmerge/branch/main/graph/badge.svg)](https://app.codecov.io/gh/andrie/mailmerge?branch=main)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
<!-- badges: end -->
```{r child="man/fragments/intro_text.Rmd"}
```
## Installation
Install the package from CRAN:
```r
install.packages("mailmerge")
```
Install the dev version from https://github.com/andrie/mailmerge
```r
remotes::install_github("andrie/mailmerge")
```
## Setup
At the moment only gmail is supported as the email back-end, using the `gmailr` package (https://github.com/r-lib/gmailr).
Before you use `mail_merge()` it's important to authenticate against the gmail service, and you should use `gmailr::gm_auth()` to do this.
## Example
```{r child="man/fragments/intro_example.Rmd"}
```
<center>
```{r, echo=FALSE, out.width="80%"}
knitr::include_graphics("man/figures/mail-merge.gif")
```
</center>