Skip to content

Commit

Permalink
Fixed docs, added coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxneticien committed Feb 12, 2018
1 parent 6633103 commit 65def18
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
^docs$
^_pkgdown\.yml$
^\.travis\.yml$
^codecov\.yml$
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
language: R
sudo: false
cache: packages

after_success:
- Rscript -e 'covr::codecov()'
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ BugReports: https://github.com/coedl/tidylex/issues
Suggests:
knitr,
rmarkdown,
testthat
testthat,
covr
VignetteBuilder: knitr
1 change: 1 addition & 0 deletions R/read_lexicon.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#'
#' @param file either a path to a file, a connection, or literal data
#' @param col_names names for line number and data columns (defaults to "line" and "data")
#' @param remove Whether tidyr::extract should remove the "data" column
#' @param ... Further arguments passed to tidyr::extract
#'
#' @import magrittr
Expand Down
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ knitr::opts_chunk$set(

# tidylex

[![Travis-CI Build Status](https://travis-ci.org/CoEDL/tidylex.svg?branch=master)](https://travis-ci.org/CoEDL/tidylex)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/tidylex)](https://cran.r-project.org/package=tidylex)
[![Coverage Status](https://img.shields.io/codecov/c/github/CoEDL/tidylex/master.svg)](https://codecov.io/github/CoEDL/tidylex?branch=master)

The goal of tidylex is to help foster collaboration between R programmers and lexicographers who are interested in cleaning/transforming dictionary data stored as Toolbox-style backslash-coded data (example taken from NLTK's `rotokas.dic`):

```
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
tidylex
=======

[![Travis-CI Build Status](https://travis-ci.org/CoEDL/tidylex.svg?branch=master)](https://travis-ci.org/CoEDL/tidylex) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/tidylex)](https://cran.r-project.org/package=tidylex) [![Coverage Status](https://img.shields.io/codecov/c/github/CoEDL/tidylex/master.svg)](https://codecov.io/github/CoEDL/tidylex?branch=master)

The goal of tidylex is to help foster collaboration between R programmers and lexicographers who are interested in cleaning/transforming dictionary data stored as Toolbox-style backslash-coded data (example taken from NLTK's `rotokas.dic`):

\lx kaa
Expand Down
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: false
7 changes: 7 additions & 0 deletions docs/index.html

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

4 changes: 4 additions & 0 deletions docs/reference/read_lexicon.html

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

2 changes: 2 additions & 0 deletions man/read_lexicon.Rd

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

12 changes: 12 additions & 0 deletions packrat/packrat.lock
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ Source: CRAN
Version: 1.4
Hash: 91d7807331a4a37ef8376fb073960ee4

Package: covr
Source: CRAN
Version: 3.0.1
Hash: aab7a1873ad3d943dd4a0ce4edbc2691
Requires: crayon, httr, jsonlite, rex, withr

Package: crayon
Source: CRAN
Version: 1.3.4
Expand Down Expand Up @@ -440,6 +446,12 @@ Version: 1.4.3
Hash: d97526fe6578cabf71bb7688c601b4ba
Requires: Rcpp, plyr, stringr

Package: rex
Source: CRAN
Version: 1.1.2
Hash: 57541aaae58f1a284a398f5c62c95097
Requires: lazyeval, magrittr

Package: rlang
Source: github
Version: 0.1.6.9003
Expand Down
Binary file added packrat/src/covr/covr_3.0.1.tar.gz
Binary file not shown.
Binary file added packrat/src/rex/rex_1.1.2.tar.gz
Binary file not shown.

0 comments on commit 65def18

Please sign in to comment.