From 0e83696c8a70a9a56b7baf8b732ead1a9f638dfa Mon Sep 17 00:00:00 2001 From: michbur Date: Wed, 21 Sep 2016 11:49:40 +0200 Subject: [PATCH] CRAN fixes --- DESCRIPTION | 2 +- README.md | 8 ++++---- inst/CITATION | 17 +++++++++++------ 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index db4bf85..3ceba19 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = "michalburdukiewicz@gmail.com", diff --git a/README.md b/README.md index d0799b9..e4357bd 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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") @@ -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 diff --git a/inst/CITATION b/inst/CITATION index eed343a..62091a4 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -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, + ".") )