Skip to content

Commit

Permalink
CRAN fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michbur committed Sep 21, 2016
1 parent 6b13e19 commit 0e83696
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Type: Package
Title: N-Gram Analysis of Biological Sequences
Version: 1.3
LazyData: true
Date: 2015-04-02
Date: 2016-09-21
Authors@R: c(
person("Michal", "Burdukiewicz",
email = "[email protected]",
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/biogram)](http://cran.r-project.org/package=biogram)
[![Downloads](http://cranlogs.r-pkg.org/badges/biogram)](http://cran.rstudio.com/package=biogram)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/biogram)](https://cran.r-project.org/package=biogram)
[![Downloads](http://cranlogs.r-pkg.org/badges/biogram)](https://cran.r-project.org/package=biogram)
[![Build Status](https://api.travis-ci.org/michbur/biogram.png)](https://travis-ci.org/michbur/biogram)
[![codecov.io](https://codecov.io/github/michbur/biogram/coverage.svg?branch=master)](https://codecov.io/github/michbur/biogram?branch=master)

Expand All @@ -15,7 +15,7 @@ biogram uses Quick Permutation Test (QuiPT) for fast feature filtering.
Installation
------------

biogram is available [on CRAN](http://cran.r-project.org/package=biogram), so installation is as simple as:
biogram is available [on CRAN](https://cran.r-project.org/package=biogram), so installation is as simple as:

```
install.packages("biogram")
Expand All @@ -38,4 +38,4 @@ citation("biogram")
```

or use:
Michal Burdukiewicz, Piotr Sobczyk and Chris Lauber (2016). biogram: N-Gram Analysis of Biological Sequences. R package version 1.3. http://CRAN.R-project.org/package=biogram
Michal Burdukiewicz, Piotr Sobczyk and Chris Lauber (2016). biogram: N-Gram Analysis of Biological Sequences. R package version 1.3. https://cran.r-project.org/package=biogram
17 changes: 11 additions & 6 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ citHeader("To cite biogram in publications, please use:")
if(!exists("meta") || is.null(meta)) meta <- packageDescription("biogram")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)
title <- paste0(meta[["Package"]], ": ", tolower(meta[["Title"]]))
url <- paste0("https://cran.r-project.org/package=", meta[["Package"]])

citEntry(entry = "Manual",
author = "Michal Burdukiewicz and Piotr Sobczyk and Chris Lauber",
title = "biogram: analysis of biological sequences using n-grams",
title = title,
year = year,
note = vers,
url = "http://CRAN.R-project.org/package=biogram",
textVersion = paste("Burdukiewicz M, Sobczyk P and Lauber C (",
url = "https://CRAN.R-project.org/package=biogram",
textVersion = paste0("Burdukiewicz M, Sobczyk P and Lauber C (",
year,
"). biogram: analysis of biological sequences using n-grams. ",
"). ",
title,
". ",
vers,
". http://CRAN.R-project.org/package=biogram",
".", sep="")
". ",
url,
".")
)

0 comments on commit 0e83696

Please sign in to comment.