diff --git a/.Rbuildignore b/.Rbuildignore index c71af55..5a55829 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,3 +9,4 @@ ^_pkgdown\.yml$ ^pkgdown$ ^\.github$ +^CRAN-RELEASE$ diff --git a/.gitignore b/.gitignore index 10c71b2..09a72cb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ .Rhistory .RData inst/doc -docs diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6c03f9e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: r -warnings_are_errors: false -sudo: required -r_github_packages: - - jimhester/covr -after_success: - - Rscript -e 'covr::coveralls()' - - Rscript -e 'pkgdown::build_site()' - -deploy: - provider: pages - skip-cleanup: true - github-token: $GITHUB_PAT - keep-history: true - local-dir: docs - on: - branch: master diff --git a/CRAN-RELEASE b/CRAN-RELEASE new file mode 100644 index 0000000..3f1d48b --- /dev/null +++ b/CRAN-RELEASE @@ -0,0 +1,2 @@ +This package was submitted to CRAN on 2021-04-18. +Once it is accepted, delete this file and tag the release (commit 28f86f0). diff --git a/DESCRIPTION b/DESCRIPTION index 82a1b75..b622ece 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,17 +1,27 @@ Package: phonenumber Title: Convert Letters to Numbers and Back as on a Telephone Keypad Version: 0.2.3 -Authors@R: person("Steve", "Myles", email = "steve@mylesandmyles.info", role = c("aut", "cre")) -Description: Convert English letters to numbers or numbers to English letters as - on a telephone keypad. When converting letters to numbers, a character - vector is returned with "A," "B," or "C" becoming 2, "D," "E", or "F" - becoming 3, etc. When converting numbers to letters, a character vector is - returned with multiple elements (i.e., "2" becomes a vector of "A," "B," and - "C"). -URL: https://stevemyles.site/phonenumber/, https://github.com/scumdogsteev/phonenumber -BugReports: https://github.com/scumdogsteev/phonenumber/issues -Depends: R (>= 3.1.3) +Authors@R: + person(given = "Steve", + family = "Myles", + role = c("aut", "cre"), + email = "steve@mylesandmyles.info") +Description: Convert English letters to numbers or numbers to English + letters as on a telephone keypad. When converting letters to numbers, + a character vector is returned with "A," "B," or "C" becoming 2, "D," + "E", or "F" becoming 3, etc. When converting numbers to letters, a + character vector is returned with multiple elements (i.e., "2" becomes + a vector of "A," "B," and "C"). License: MIT + file LICENSE -VignetteBuilder: knitr -Suggests: knitr, rmarkdown, +URL: https://stevemyles.site/phonenumber/, + https://github.com/scumdogsteev/phonenumber +BugReports: https://github.com/scumdogsteev/phonenumber/issues +Depends: + R (>= 3.1.3) +Suggests: + knitr, + rmarkdown, testthat +VignetteBuilder: + knitr +Encoding: UTF-8 diff --git a/README.Rmd b/README.Rmd index 400f2d8..03ba551 100644 --- a/README.Rmd +++ b/README.Rmd @@ -15,20 +15,9 @@ knitr::opts_chunk$set( # phonenumber -[![R-CMD-check](https://github.com/scumdogsteev/phonenumber/workflows/R-CMD-check/badge.svg)](https://github.com/scumdogsteev/phonenumber/actions)[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/phonenumber)](http://cran.r-project.org/package=phonenumber) [![Travis-CI Build Status](https://travis-ci.org/scumdogsteev/phonenumber.svg?branch=master)](https://travis-ci.org/scumdogsteev/phonenumber) [![Appveyor Build status](https://ci.appveyor.com/api/projects/status/f9cm5ixhl4934dck?svg=true)](https://ci.appveyor.com/project/scumdogsteev/phonenumber) [![Coverage Status](https://coveralls.io/repos/scumdogsteev/phonenumber/badge.svg?branch=master&service=github)](https://coveralls.io/github/scumdogsteev/phonenumber?branch=master) [![RStudio CRAN mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/phonenumber)](http://cran.rstudio.com/web/packages/phonenumber/index.html) +[![R-CMD-check](https://github.com/scumdogsteev/phonenumber/workflows/R-CMD-check/badge.svg)](https://github.com/scumdogsteev/phonenumber/actions)[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/phonenumber)](https://cran.r-project.org/package=phonenumber) [![Coverage Status](https://coveralls.io/repos/scumdogsteev/phonenumber/badge.svg?branch=master&service=github)](https://coveralls.io/github/scumdogsteev/phonenumber?branch=master) [![RStudio CRAN mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/phonenumber)](https://cran.rstudio.com/package=phonenumber) -**`phonenumber`** converts English letters to numbers or -numbers to English letters as on a telephone keypad. - -Author: Steve Myles - -Project Home: http://stevemyles.site/phonenumber/ - -Blog Post: https://stevemyles.site/blog/2015/07/12/phonenumber/ - -License: MIT license - ### Background When I recently posted some of my [Turbo Pascal Stuff](https://stevemyles.site/blog/2015/06/19/turbo-pascal-stuff/), I found an incomplete diff --git a/README.md b/README.md index 4de67fc..c61fdd3 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,17 @@ -# phonenumber +# phonenumber -[![R-CMD-check](https://github.com/scumdogsteev/phonenumber/workflows/R-CMD-check/badge.svg)](https://github.com/scumdogsteev/phonenumber/actions)[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/phonenumber)](http://cran.r-project.org/package=phonenumber) -[![Travis-CI Build -Status](https://travis-ci.org/scumdogsteev/phonenumber.svg?branch=master)](https://travis-ci.org/scumdogsteev/phonenumber) -[![Appveyor Build -status](https://ci.appveyor.com/api/projects/status/f9cm5ixhl4934dck?svg=true)](https://ci.appveyor.com/project/scumdogsteev/phonenumber) +[![R-CMD-check](https://github.com/scumdogsteev/phonenumber/workflows/R-CMD-check/badge.svg)](https://github.com/scumdogsteev/phonenumber/actions)[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/phonenumber)](https://cran.r-project.org/package=phonenumber) [![Coverage Status](https://coveralls.io/repos/scumdogsteev/phonenumber/badge.svg?branch=master&service=github)](https://coveralls.io/github/scumdogsteev/phonenumber?branch=master) [![RStudio CRAN mirror -downloads](http://cranlogs.r-pkg.org/badges/grand-total/phonenumber)](http://cran.rstudio.com/web/packages/phonenumber/index.html) +downloads](https://cranlogs.r-pkg.org/badges/grand-total/phonenumber)](https://cran.rstudio.com/package=phonenumber) -**`phonenumber`** converts English letters to numbers or numbers to -English letters as on a telephone keypad. - -Author: Steve Myles - -Project Home: - -Blog Post: - -License: MIT license - ### Background When I recently posted some of my [Turbo Pascal diff --git a/_pkgdown.yml b/_pkgdown.yml index 1829d6c..6e800fa 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -14,12 +14,14 @@ navbar: href: index.html - text: "Documentation" href: articles/phonenumber.html - - text: "Functions" + - text: "Reference" href: reference/index.html - - text: "News" + - text: "Changelog" href: news/index.html right: - icon: fa-github fa-lg href: https://github.com/scumdogsteev/phonenumber + - icon: fa-info-circle fa-lg + href: https://stevemyles.site/blog/2015/07/12/phonenumber/ - icon: fa-arrow-circle-up fa-lg href: https://stevemyles.site/ diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 7d1c45b..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -# DO NOT CHANGE the "init" and "install" sections below - -# Download script file from GitHub -init: - ps: | - $ErrorActionPreference = "Stop" - Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1" - Import-Module '..\appveyor-tool.ps1' - -install: - ps: Bootstrap - -# Adapt as necessary starting from here - -build_script: - - travis-tool.sh install_deps - -test_script: - - travis-tool.sh run_tests - -on_failure: - - travis-tool.sh dump_logs - -artifacts: - - path: '*.Rcheck\**\*.log' - name: Logs - - - path: '*.Rcheck\**\*.out' - name: Logs - - - path: '*.Rcheck\**\*.fail' - name: Logs - - - path: '*.Rcheck\**\*.Rout' - name: Logs - - - path: '\*_*.tar.gz' - name: Bits - - - path: '\*_*.zip' - name: Bits diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 0000000..fd8a126 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,171 @@ + + + + + + + + +Page not found (404) • phonenumber + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ +
+
+ + +Content not found. Please use links in the navbar. + +
+ + + +
+ + + +
+ + +
+

Site built with pkgdown 1.6.1.

+
+ +
+
+ + + + + + + + diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html new file mode 100644 index 0000000..b704b74 --- /dev/null +++ b/docs/LICENSE-text.html @@ -0,0 +1,173 @@ + + + + + + + + +License • phonenumber + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ +
+
+ + +
YEAR: 2015
+COPYRIGHT HOLDER: Steve Myles
+
+ +
+ + + +
+ + + +
+ + +
+

Site built with pkgdown 1.6.1.

+
+ +
+
+ + + + + + + + diff --git a/docs/apple-touch-icon-120x120.png b/docs/apple-touch-icon-120x120.png new file mode 100644 index 0000000..3e90247 Binary files /dev/null and b/docs/apple-touch-icon-120x120.png differ diff --git a/docs/apple-touch-icon-152x152.png b/docs/apple-touch-icon-152x152.png new file mode 100644 index 0000000..22d4063 Binary files /dev/null and b/docs/apple-touch-icon-152x152.png differ diff --git a/docs/apple-touch-icon-180x180.png b/docs/apple-touch-icon-180x180.png new file mode 100644 index 0000000..b102f64 Binary files /dev/null and b/docs/apple-touch-icon-180x180.png differ diff --git a/docs/apple-touch-icon-60x60.png b/docs/apple-touch-icon-60x60.png new file mode 100644 index 0000000..0c9b33d Binary files /dev/null and b/docs/apple-touch-icon-60x60.png differ diff --git a/docs/apple-touch-icon-76x76.png b/docs/apple-touch-icon-76x76.png new file mode 100644 index 0000000..174625c Binary files /dev/null and b/docs/apple-touch-icon-76x76.png differ diff --git a/docs/apple-touch-icon.png b/docs/apple-touch-icon.png new file mode 100644 index 0000000..641ae54 Binary files /dev/null and b/docs/apple-touch-icon.png differ diff --git a/docs/articles/index.html b/docs/articles/index.html index 8e3d0f5..58522f6 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -95,10 +95,10 @@ Documentation
  • - Functions + Reference
  • - News + Changelog