-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modify tests so that they work on CRAN * Update README * Update NEWS.md * Remove Appveyor and fix README * Fix docs for `add_cta_button()` * Update version number
- Loading branch information
1 parent
f12c907
commit 16fe481
Showing
8 changed files
with
61 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Type: Package | ||
Package: blastula | ||
Title: Easily Send HTML Email Messages | ||
Version: 0.2.99.9000 | ||
Version: 0.3.0 | ||
Authors@R: c( | ||
person("Richard", "Iannone", role = c("aut", "cre"), email = "[email protected]", | ||
comment = c(ORCID = "0000-0003-3925-190X")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ library(blastula) | |
|
||
[![CRAN status](https://www.r-pkg.org/badges/version/blastula)](https://CRAN.R-project.org/package=blastula) | ||
[![Travis-CI Build Status](https://travis-ci.org/rich-iannone/blastula.svg?branch=master)](https://travis-ci.org/rich-iannone/blastula) | ||
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/rich-iannone/blastula?branch=master&svg=true)](https://ci.appveyor.com/project/rich-iannone/blastula) | ||
[![Codecov test coverage](https://codecov.io/gh/rich-iannone/blastula/branch/master/graph/badge.svg)](https://codecov.io/gh/rich-iannone/blastula?branch=master) | ||
|
||
## Overview | ||
|
@@ -76,7 +75,7 @@ After creating the email message, we can look at it to ensure that the formattin | |
|
||
```{r preview_email, eval=FALSE} | ||
# Preview the email | ||
email_object | ||
``` | ||
|
||
<img src="man/figures/rstudio_preview_email.png"> | ||
|
@@ -89,17 +88,23 @@ Having generated a credentials file, we can use the `smtp_send()` function (alon | |
|
||
```{r smtp_send, eval=FALSE} | ||
# Sending email by SMTP using a credentials file | ||
email_object %>% | ||
email %>% | ||
smtp_send( | ||
to = "[email protected]", | ||
from = "personal@email.net", | ||
to = "[email protected]", | ||
from = "joe_public@example.net", | ||
subject = "Testing the `smtp_send()` function", | ||
credentials = creds_file("email_creds") | ||
) | ||
``` | ||
|
||
## Installation | ||
|
||
The **blastula** package can be installed from CRAN with `install.packages()`. | ||
|
||
```{r install_cran, eval=FALSE} | ||
install.packages("blastula") | ||
``` | ||
|
||
You can install the in-development version of **blastula** from **GitHub** using the **devtools** package. | ||
|
||
```{r install_github, eval=FALSE} | ||
|
@@ -111,7 +116,7 @@ If you encounter a bug, have usage questions, or want to share ideas to make thi | |
|
||
## Code of Conduct | ||
|
||
Please note that the **blastula** project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms. | ||
Please note that the **blastula** project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/1/0/0). By contributing to this project, you agree to abide by its terms. | ||
|
||
## License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
status](https://www.r-pkg.org/badges/version/blastula)](https://CRAN.R-project.org/package=blastula) | ||
[![Travis-CI Build | ||
Status](https://travis-ci.org/rich-iannone/blastula.svg?branch=master)](https://travis-ci.org/rich-iannone/blastula) | ||
[![AppVeyor build | ||
status](https://ci.appveyor.com/api/projects/status/github/rich-iannone/blastula?branch=master&svg=true)](https://ci.appveyor.com/project/rich-iannone/blastula) | ||
[![Codecov test | ||
coverage](https://codecov.io/gh/rich-iannone/blastula/branch/master/graph/badge.svg)](https://codecov.io/gh/rich-iannone/blastula?branch=master) | ||
|
||
|
@@ -80,7 +78,7 @@ displayed in the Viewer. | |
|
||
``` r | ||
# Preview the email | ||
email_object | ||
``` | ||
|
||
<img src="man/figures/rstudio_preview_email.png"> | ||
|
@@ -99,17 +97,24 @@ send the email through an SMTP server. | |
|
||
``` r | ||
# Sending email by SMTP using a credentials file | ||
email_object %>% | ||
email %>% | ||
smtp_send( | ||
to = "[email protected]", | ||
from = "personal@email.net", | ||
to = "[email protected]", | ||
from = "joe_public@example.net", | ||
subject = "Testing the `smtp_send()` function", | ||
credentials = creds_file("email_creds") | ||
) | ||
``` | ||
|
||
## Installation | ||
|
||
The **blastula** package can be installed from CRAN with | ||
`install.packages()`. | ||
|
||
``` r | ||
install.packages("blastula") | ||
``` | ||
|
||
You can install the in-development version of **blastula** from | ||
**GitHub** using the **devtools** package. | ||
|
||
|
@@ -125,8 +130,9 @@ make this package better, feel free to file an | |
## Code of Conduct | ||
|
||
Please note that the **blastula** project is released with a | ||
[Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to | ||
this project, you agree to abide by its terms. | ||
[Contributor Code of | ||
Conduct](https://contributor-covenant.org/version/1/0/0). By | ||
contributing to this project, you agree to abide by its terms. | ||
|
||
## License | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters