diff --git a/.github/workflows/pkgcheck.yaml b/.github/workflows/pkgcheck.yaml index d62f60c2..4ed156a0 100644 --- a/.github/workflows/pkgcheck.yaml +++ b/.github/workflows/pkgcheck.yaml @@ -12,9 +12,12 @@ on: push: branches: - main + - master jobs: - check: + pkgcheck: runs-on: ubuntu-latest steps: - uses: ropensci-review-tools/pkgcheck-action@main + with: + post-to-issue: false diff --git a/CITATION.cff b/CITATION.cff index 98530e7e..7094bff9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ # ----------------------------------------------------------- -# CITATION file created with {cffr} R package, v0.2.3.9000 +# CITATION file created with {cffr} R package, v0.3.0 # See also: https://docs.ropensci.org/cffr/ # ----------------------------------------------------------- @@ -8,7 +8,7 @@ message: 'To cite package "cffr" in publications use:' type: software license: GPL-3.0-or-later title: 'cffr: Generate Citation File Format (''cff'') Metadata for R Packages' -version: 0.2.3.9000 +version: 0.3.0 doi: 10.21105/joss.03900 abstract: The Citation File Format version 1.2.0 is a human and machine readable file format which provides citation metadata for software. diff --git a/DESCRIPTION b/DESCRIPTION index 34c62915..c6705c4e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: cffr Title: Generate Citation File Format ('cff') Metadata for R Packages -Version: 0.2.3.9000 +Version: 0.3.0 Authors@R: c( person("Diego", "Hernangómez", , "diego.hernangomezherrero@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-8457-4658")), diff --git a/NEWS.md b/NEWS.md index 427e4d29..751810a3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# cffr (development version) +# cffr 0.3.0 - `preferred-citation` is only produced when a CITATION (**R**) file has been provided with the package (#37). diff --git a/README.md b/README.md index 6d8e6b48..d373495f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ included full support of this citation format ([Druskat 2021](#ref-druskat_stephan_making_2021)). GitHub support is of special interest: -GitHub-link +GitHub-link *— Nat Friedman (@natfriedman) [July 27, 2021](https://twitter.com/natfriedman/status/1420122675813441540?ref_src=twsrc%5Etfw)* @@ -71,7 +71,7 @@ file and the `CITATION` file (if present) of your package. Note that **cffr** works best if your package pass `R CMD check/devtools::check()`. -As per 2022-08-29 there are at least 207 repos on GitHub using **cffr**. +As per 2022-09-23 there are at least 211 repos on GitHub using **cffr**. [Check them out here](https://github.com/search?l=&o=desc&q=cffr+extension%3Acff+filename%3ACITATION&s=indexed&type=Code). @@ -146,7 +146,7 @@ test <- cff_create("rmarkdown") type: software license: GPL-3.0-only title: 'rmarkdown: Dynamic Documents for R' - version: '2.15' + version: '2.16' abstract: Convert R Markdown documents into a variety of formats. authors: - family-names: Allaire @@ -218,12 +218,12 @@ test <- cff_create("rmarkdown") email: rich@rstudio.com orcid: https://orcid.org/0000-0003-3925-190X year: '2022' - notes: R package version 2.15 + notes: R package version 2.16 url: https://github.com/rstudio/rmarkdown repository: https://CRAN.R-project.org/package=rmarkdown repository-code: https://github.com/rstudio/rmarkdown url: https://pkgs.rstudio.com/rmarkdown/ - date-released: '2022-08-16' + date-released: '2022-08-24' contact: - family-names: Xie given-names: Yihui @@ -337,7 +337,7 @@ test <- cff_create("rmarkdown") email: jeff@rstudio.com year: '2022' url: https://CRAN.R-project.org/package=htmltools - version: '>= 0.3.5' + version: '>= 0.5.1' - type: software title: jquerylib abstract: 'jquerylib: Obtain ''jQuery'' as an HTML Dependency Object' diff --git a/codemeta.json b/codemeta.json index 3e1735f0..b0a6f9c3 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ropensci/cffr", "issueTracker": "https://github.com/ropensci/cffr/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.2.3.9000", + "version": "0.3.0", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -187,7 +187,7 @@ }, "isPartOf": "https://ropensci.org", "keywords": ["attribution", "citation", "credit", "citation-files", "cff", "metadata", "r", "r-package", "citation-file-format", "rstats", "ropensci", "cran"], - "fileSize": "855.073KB", + "fileSize": "854.199KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/vignettes/crosswalk.Rmd b/vignettes/crosswalk.Rmd index 75aba7a3..35c6803c 100644 --- a/vignettes/crosswalk.Rmd +++ b/vignettes/crosswalk.Rmd @@ -370,7 +370,8 @@ pkgnokeywords # Adding Keywords desc::desc_set("X-schema.org-keywords", "keyword1, keyword2, keyword3", - file = tmp2) + file = tmp2 +) cat(cff_create(tmp2)$keywords) ```