Skip to content

Commit

Permalink
Merge pull request #47 from mrchypark/46-cran-issue
Browse files Browse the repository at this point in the history
46 cran issue
  • Loading branch information
mrchypark committed Aug 12, 2022
2 parents b061728 + 4ee298f commit 5179eb6
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 49 deletions.
46 changes: 22 additions & 24 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
^renv$
^renv\.lock$
^data-raw$
^README\.Rmd$
^R/\.logo\.R$
^R/\.add_git_hook\.R$
^codecov\.yml$
^\.github$
^\.travis\.yml$
^revdep$
^cran-comments\.md$
^CODE_OF_CONDUCT\.md$
^appveyor\.yml$
^docs$
^_pkgdown\.yml$
^LICENSE\.md$
^sendgridr\.Rproj$
^\.Rproj\.user$
^build_pkgdown\.R$
^pre_commit$
^post_commit$
^\.all-contributorsrc$
gtest.*
^pkgdown$
^renv$
^renv\.lock$
^data-raw$
^README\.Rmd$
^R/\.logo\.R$
^R/\.add_git_hook\.R$
^codecov\.yml$
^\.github$
^revdep$
^cran-comments\.md$
^CODE_OF_CONDUCT\.md$
^docs$
^_pkgdown\.yml$
^LICENSE\.md$
^sendgridr\.Rproj$
^\.Rproj\.user$
^build_pkgdown\.R$
^pre_commit$
^post_commit$
^\.all-contributorsrc$
^pkgdown$
^CRAN-SUBMISSION$
4 changes: 2 additions & 2 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck cachem
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v2
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.5.1
Date: 2022-08-12 15:55:30 UTC
SHA: dcb72e18a9590835eba514ce8e22afacf1ce8600
12 changes: 6 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Package: sendgridr
Title: Mail Sender Using 'Sendgrid' Service
Version: 0.5.0
Version: 0.5.1
Authors@R: person(given = "Chanyub",
family = "Park",
role = c("aut","cre"),
email = "mrchypark@gmail.com",
comment = c(ORCID = "0000-0001-6474-2570"))
family = "Park",
role = c("aut","cre"),
email = "mrchypark@gmail.com",
comment = c(ORCID = "0000-0001-6474-2570"))
Description: Send email using 'Sendgrid' <https://sendgrid.com/>
mail API(v3) <https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/authentication>.
License: MIT + file LICENSE
Expand All @@ -21,7 +21,7 @@ Imports:
emayili (>= 0.7),
keyring
Encoding: UTF-8
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
Depends:
R (>= 3.4)
Suggests:
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# sendgridr 0.5.1

* Rebuild document with roxygen2 7.2.1

# sendgridr 0.5.0

* api key manage with keyring pacakge.
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ library(sendgridr)
[![runiverse-name](https://mrchypark.r-universe.dev/badges/:name)](https://mrchypark.r-universe.dev/)
[![runiverse-package](https://mrchypark.r-universe.dev/badges/sendgridr)](https://mrchypark.r-universe.dev/ui#packages)
[![metacran downloads](https://cranlogs.r-pkg.org/badges/sendgridr)](https://cran.r-project.org/package=sendgridr)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/sendgridr)](https://cran.rstudio.com/package=sendgridr)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/sendgridr)](https://CRAN.R-project.org/package=sendgridr)
<!-- badges: end -->


Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ status](https://www.r-pkg.org/badges/version/sendgridr)](https://CRAN.R-project.
[![runiverse-package](https://mrchypark.r-universe.dev/badges/sendgridr)](https://mrchypark.r-universe.dev/ui#packages)
[![metacran
downloads](https://cranlogs.r-pkg.org/badges/sendgridr)](https://cran.r-project.org/package=sendgridr)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/sendgridr)](https://cran.rstudio.com/package=sendgridr)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/sendgridr)](https://CRAN.R-project.org/package=sendgridr)
<!-- badges: end -->

The goal of sendgridr is to mail using r with sendgrid service that
Expand Down Expand Up @@ -63,11 +63,11 @@ class(sendproject1)
#> [1] "sg_mail" "list"
sendproject1
#> SendGrid Mail -
#> x from : (required)
#> x to : (required)
#> x subject: (required)
#> x content: (required)
#> attach : (optional)
#> from : (required)
#> to : (required)
#> subject: (required)
#> content: (required)
#> attach : (optional)
```

to, from, subject, body are required. cc, bcc, attachments are optional.
Expand All @@ -86,11 +86,11 @@ mail() |>
subject("test mail title") |>
body("hello world!")
#> SendGrid Mail -
#> from : toexam@mail.com <example1@mail.com>
#> to : cnt[3] 1 exam <toexam1@mail.com>, 2 exam <toexam2 ...
#> subject: nchr[15] test mail title
#> content: nchr[12] hello world!
#> attach : (optional)
#> from : toexam@mail.com <example1@mail.com>
#> to : cnt[3] 1 exam <toexam1@mail.com>, 2 exam <toexam2 ...
#> subject: nchr[15] test mail title
#> content: nchr[12] hello world!
#> attach : (optional)
```

## Code of Conduct
Expand Down
5 changes: 5 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## R CMD check results

0 errors | 0 warnings | 1 note

* Rebuild document with roxygen2 7.2.1
4 changes: 1 addition & 3 deletions man/auth_check.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/sendgridr-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sendgridr.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace

0 comments on commit 5179eb6

Please sign in to comment.