Skip to content

Commit

Permalink
Revert "Revert "updates prior to CRAN submission of 0.2.1""
Browse files Browse the repository at this point in the history
This reverts commit ca90578.
  • Loading branch information
Scumdogsteev committed Aug 22, 2015
1 parent 05ce7e1 commit 3c12dfb
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 10 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ NEWS\.md
^README\.Rmd$
^README-.*\.png$
^\.travis\.yml$
^appveyor\.yml$
5 changes: 3 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ knitr::opts_chunk$set(
)
```

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/mlsjunkgen)](http://cran.r-project.org/package=mlsjunkgen) [![Travis-CI Build Status](https://travis-ci.org/scumdogsteev/phonenumber.svg?branch=master)](https://travis-ci.org/scumdogsteev/phonenumber) [![Coverage Status](https://coveralls.io/repos/scumdogsteev/phonenumber/badge.svg?branch=master&service=github)](https://coveralls.io/github/scumdogsteev/phonenumber?branch=master)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/mlsjunkgen)](http://cran.r-project.org/package=mlsjunkgen) [![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/github/scumdogsteev/phonenumber?branch=master)](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)

# phonenumber

Expand Down Expand Up @@ -104,7 +104,8 @@ library(phonenumber)
```

**`letterToNumber`** converts a string containing letters into the corresponding
numbers on a telephone's keypad. For example, if the user wants to know what telephone number corresponds to "Texas:"
numbers on a telephone's keypad. For example, if the user wants to know what
telephone number corresponds to "Texas:"

```{r letterToNumber}
string <- "Texas"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- README.md is generated from README.Rmd. Please edit that file -->
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/mlsjunkgen)](http://cran.r-project.org/package=mlsjunkgen) [![Travis-CI Build Status](https://travis-ci.org/scumdogsteev/phonenumber.svg?branch=master)](https://travis-ci.org/scumdogsteev/phonenumber) [![Coverage Status](https://coveralls.io/repos/scumdogsteev/phonenumber/badge.svg?branch=master&service=github)](https://coveralls.io/github/scumdogsteev/phonenumber?branch=master)
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/mlsjunkgen)](http://cran.r-project.org/package=mlsjunkgen) [![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/github/scumdogsteev/phonenumber?branch=master)](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)

phonenumber
===========
Expand Down
41 changes: 41 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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
8 changes: 2 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
## Test environments
* local Windows 8.1 64-bit, R 3.2.1
* local Windows 8.1 64-bit, R 3.2.2
* win-builder (devel and release)

## R CMD check results
There were no ERRORs.

There was 1 WARNING:
* checking package dependencies ...Warning: unable to access index for repository https://cran.rstudio.com/src/contrib
OK
There were no ERRORs or WARNINGs.

There were 2 NOTEs:
* checking CRAN incoming feasibility ... NOTE
Expand Down
3 changes: 2 additions & 1 deletion vignettes/phonenumber.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ library(phonenumber)
## `letterToNumber`

`letterToNumber` converts a string containing letters into the corresponding
numbers on a telephone's keypad. For example, if the user wants to know what telephone number corresponds to "Texas:"
numbers on a telephone's keypad. For example, if the user wants to know what
telephone number corresponds to "Texas:"

```{r letterToNumber ex1}
string <- "Texas"
Expand Down

0 comments on commit 3c12dfb

Please sign in to comment.