From b680e665d0d5b649809bf069a5468911b807c2d7 Mon Sep 17 00:00:00 2001 From: Ben Schneider Date: Mon, 6 Feb 2023 10:49:00 -0500 Subject: [PATCH] CRAN asked to use `binentry()` instead of `citEntry()`. --- DESCRIPTION | 2 +- cran-comments.md | 2 ++ inst/CITATION | 19 ++++++++++--------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9b17068..a0d09a1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,7 +25,7 @@ URL: https://bschneidr.github.io/svrep/, BugReports: https://github.com/bschneidr/svrep/issues Encoding: UTF-8 LazyData: true -RoxygenNote: 7.2.0 +RoxygenNote: 7.2.3 Imports: mvtnorm, stats, diff --git a/cran-comments.md b/cran-comments.md index 687e2df..89b0422 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -7,6 +7,8 @@ about DOI links in the DESCRIPTION. The links are valid, but it seems the URL checker isn't working correctly for these DOI links. +* In yesterday's submission, I used the old-style `citEntry()` syntax in the `CITATION` file. Based on CRAN feedback, I've updated to use the new recommended `bibentry()` syntax. + ## Downstream dependencies * This package does not yet have any downstream dependencies. diff --git a/inst/CITATION b/inst/CITATION index 140bd75..cd715cc 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,9 +1,10 @@ -citHeader("To cite the survey package in publications use one or more of:") - -citEntry(entry="misc", - author="Benjamin Schneider", - year=2023, - title="svrep: Tools for Creating, Updating, and Analyzing Survey Replicate Weights", - note="R package version 5.0", - url="https://CRAN.R-project.org/package=svrep", - textVersion="Schneider, B. (2023). \"svrep: Tools for Creating, Updating, and Analyzing Survey Replicate Weights\". R package version 5.0." ) +bibentry( + bibtype="misc", + header = "To cite the survey package in publications use one or more of:", + author="Benjamin Schneider", + year=2023, + title="svrep: Tools for Creating, Updating, and Analyzing Survey Replicate Weights", + note="R package version 5.0", + url="https://CRAN.R-project.org/package=svrep", + textVersion="Schneider, B. (2023). \"svrep: Tools for Creating, Updating, and Analyzing Survey Replicate Weights\". R package version 5.0." +)