From 5304dd3687eab03331f024a30e2b36fccce2f1ec Mon Sep 17 00:00:00 2001 From: nfrerebeau Date: Mon, 23 Sep 2024 19:55:00 +0200 Subject: [PATCH] Update citation --- DESCRIPTION | 2 +- README.Rmd | 3 ++- README.md | 15 ++++----------- codemeta.json | 30 ++++++++++++++++++++++++++++-- inst/CITATION | 16 +++++++++++++++- 5 files changed, 50 insertions(+), 16 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b24a2c8..a1a9b5d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: gammaShiny -Title: 'Shiny' Applications for the R Package 'gamma' +Title: 'shiny' Applications for the R Package 'gamma' Version: 0.2.0 Authors@R: c( person("Nicolas", "Frerebeau", , "nicolas.frerebeau@u-bordeaux-montaigne.fr", role = "aut", diff --git a/README.Rmd b/README.Rmd index be89fd6..1f75402 100644 --- a/README.Rmd +++ b/README.Rmd @@ -30,7 +30,8 @@ knitr::opts_chunk$set( A collection of [**shiny**](https://shiny.rstudio.com) application that provides exhanced graphical user interfaces for the [**gamma**](https://github.com/crp2a/gamma) package. ```{r citation, echo=FALSE, comment=''} -utils::citation("gammaShiny") +cite <- utils::citation("gammaShiny") +print(cite, bibtex = FALSE) ``` ## Installation diff --git a/README.md b/README.md index e3b2fb4..c3f73df 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,10 @@ provides exhanced graphical user interfaces for the Estimation from In-Situ Gamma-Ray Spectrometry Measurements." _Ancient TL_, *38*(2), 1-5. - Une entrée BibTeX pour les utilisateurs LaTeX est - - @Article{, - author = {Brice Lebrun and Nicolas Frerebeau and Guilhem Paradol and Guillaume Guérin and Norbert Mercier and Chantal Tribolo and Christelle Lahaye and Magali Rizza}, - title = {{gamma: An R Package for Dose Rate Estimation from In-Situ Gamma-Ray Spectrometry Measurements}}, - year = {2020}, - journal = {Ancient TL}, - volume = {38}, - number = {2}, - pages = {1-5}, - } + Frerebeau N, Lebrun B, Kreutzer S (2024). _gammaShiny: shiny + Applications for the R Package gamma_. Université Bordeaux Montaigne, + Pessac, France. doi:10.5281/zenodo.4139005 + , R package version 0.2.0. ## Installation diff --git a/codemeta.json b/codemeta.json index eb4a7d0..3b83f38 100644 --- a/codemeta.json +++ b/codemeta.json @@ -3,7 +3,7 @@ "@type": "SoftwareSourceCode", "identifier": "gammaShiny", "description": "A collection of 'shiny' applications for the R package 'gamma'.", - "name": "gammaShiny: 'Shiny' Applications for the R Package 'gamma'", + "name": "gammaShiny: 'shiny' Applications for the R Package 'gamma'", "codeRepository": "https://github.com/crp2a/gammaShiny", "issueTracker": "https://github.com/crp2a/gammaShiny/issues", "license": "https://spdx.org/licenses/GPL-3.0", @@ -202,7 +202,7 @@ }, "SystemRequirements": null }, - "fileSize": "328.081KB", + "fileSize": "328.18KB", "citation": [ { "@type": "ScholarlyArticle", @@ -261,6 +261,32 @@ "name": "Ancient TL" } } + }, + { + "@type": "SoftwareSourceCode", + "datePublished": "2024", + "author": [ + { + "@type": "Person", + "givenName": "Nicolas", + "familyName": "Frerebeau" + }, + { + "@type": "Person", + "givenName": "Brice", + "familyName": "Lebrun" + }, + { + "@type": "Person", + "givenName": "Sebastian", + "familyName": "Kreutzer" + } + ], + "name": "{gammaShiny: shiny Applications for the R Package gamma}", + "identifier": "10.5281/zenodo.4139005", + "description": "R package version 0.2.0", + "@id": "https://doi.org/10.5281/zenodo.4139005", + "sameAs": "https://doi.org/10.5281/zenodo.4139005" } ], "releaseNotes": "https://github.com/crp2a/gammaShiny/blob/master/NEWS.md", diff --git a/inst/CITATION b/inst/CITATION index 547b189..7eb8f63 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,6 +1,7 @@ +citHeader("To cite gammaShiny in publications use:") bibentry( bibtype = "Article", - header = "To cite gammaShiny in publications use:", + key = "lebrun2020", author = c(person("Brice", "Lebrun", role = "aut"), person("Nicolas", "Frerebeau", role = "aut"), person("Guilhem", "Paradol", role = "aut"), @@ -16,3 +17,16 @@ bibentry( number = "2", pages = "1-5" ) +bibentry( + bibtype = "Manual", + key = "R-gammaShiny", + author = c(person("Nicolas", "Frerebeau", role = "aut"), + person("Brice", "Lebrun", role = "aut"), + person("Sebastian", "Kreutzer", rol = "aut")), + title = "{gammaShiny: shiny Applications for the R Package gamma}", + year = "2024", + organization = "Université Bordeaux Montaigne", + address = "Pessac, France", + note = sprintf("R package version %s", meta$Version), + doi = "10.5281/zenodo.4139005" +)