Skip to content

Commit fea322b

Browse files
committed
Fix lins
1 parent 984c4ab commit fea322b

17 files changed

Lines changed: 64 additions & 69 deletions

.github/workflows/test-ci.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,6 @@ jobs:
150150
151151
shell: Rscript {0}
152152

153-
- name: Re-cache packages
154-
uses: r-lib/actions/setup-r-dependencies@v2
155-
with:
156-
cache-version: "test_full_ci"
157-
cache: "always"
158-
extra-packages: |
159-
local::.
160-
any::devtools
161-
any::remotes
162-
any::tidymodels
163-
any::tidyverse
164-
any::ctv
165-
any::cranlogs
166-
167153
- name: Test GHA
168154
run: |
169155

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ warns when used, providing advice on the replacement function.
141141
## Other changes
142142

143143
- Minimum **R** version required now is **4.0.0**.
144-
- Update of BibTeX crosswalk (see `vignette("bibtex_cff", package = "cffr")`)
144+
- Update of BibTeX crosswalk (see `vignette("bibtex-cff", package = "cffr")`)
145145
and consequently changes in the mapping performed by `as_bibtex()`
146146
`cff_parse_citation()`:
147147
- **\@inbook** and **\@book** gains a new value on [CFF]{.underline} when
@@ -257,7 +257,7 @@ warns when used, providing advice on the replacement function.
257257
- Rename `cff_schema_definitions_reference()` to
258258
`cff_schema_definitions_refs()`.
259259
- `repository` key is supported.
260-
- Added vignette: `vignette("crosswalk", package = "cffr")`.
260+
- Added vignette: `vignette("r-cff", package = "cffr")`.
261261
- Add support to Bioconductor packages.
262262
- New function: `cff_gha_update()`.
263263

R/as_bibentry.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
#' @seealso
1717
#' [utils::bibentry()] to understand more about the `bibentry` class.
1818
#'
19-
#' - `vignette("crosswalk", package = "cffr")` provides details on how the
19+
#' - `vignette("r-cff", package = "cffr")` provides details on how the
2020
#' metadata of a package is mapped to produce a `cff` object.
2121
#'
22-
#' - `vignette("bibtex_cff", "cffr")` provides detailed information about the
23-
#' internal mapping performed between `cff` objects and BibTeX markup (
24-
#' both `cff` to BibTeX and BibTeX to `cff`).
22+
#' - `vignette("bibtex-cff", package = "cffr")` provides detailed information
23+
#' about the internal mapping performed between `cff` objects and BibTeX
24+
#' markup (both `cff` to BibTeX and BibTeX to `cff`).
2525
#'
2626
#' Other related functions:
2727
#' - [utils::toBibtex()].
@@ -56,7 +56,7 @@
5656
#' - `all`: A combination of the previous two options. This would extract
5757
#' both the `preferred-citation` and the `references` key.
5858
#'
59-
#' See `vignette("crosswalk", package = "cffr")`.
59+
#' See `vignette("r-cff", package = "cffr")`.
6060
#'
6161
#' @family bibtex
6262
#' @family s3method
@@ -70,7 +70,7 @@
7070
#'
7171
#' `as_bibtex()` tries to map the information of the source `x` into a [`cff`]
7272
#' object and performs a mapping of the metadata to BibTeX, according to
73-
#' `vignette("bibtex_cff", "cffr")`.
73+
#' `vignette("bibtex-cff", package = "cffr")`.
7474
#'
7575
#' @return
7676
#' `as_bibentry()` returns a `bibentry` object with one or more entries.

R/as_cff.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
#'
3535
#' @details
3636
#' For `as_cff.bibentry()` and `as_cff.Bibtex()`, see
37-
#' `vignette("bibtex_cff", "cffr")` to understand how the mapping is performed.
37+
#' `vignette("bibtex-cff", package = "cffr")` to understand how the mapping is
38+
#' performed.
3839
#'
3940
#' [as_cff_person()] is preferred over `as_cff.person()`, since it can handle
4041
#' `character` inputs such as `"Davis, Jr., Sammy"`. For `person` objects both

R/as_cff_person.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#' the methods [as.person.cff_pers()] and [as.person.cff_pers_lst()].
2424
#'
2525
#' @seealso
26-
#' Examples in `vignette("cffr", "cffr")` and [utils::person()].
26+
#' Examples in `vignette("cffr", package = "cffr")` and [utils::person()].
2727
#'
2828
#' Learn more about the `cff_pers_lst` and `cff_pers` classes in [cff_class].
2929
#'

R/cff_create.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
#'
4747
#' - [cff_modify()] as the recommended way to modify a `cff` object.
4848
#' - [cff_write()] for creating a CFF file.
49-
#' - `vignette("cffr", "cffr")` shows an introduction on how manipulate
50-
#' [`cff`] objects.
51-
#' - `vignette("crosswalk", package = "cffr")` provides details on how the
49+
#' - `vignette("cffr", package = "cffr")` shows an introduction on how
50+
#' manipulate [`cff`] objects.
51+
#' - `vignette("r-cff", package = "cffr")` provides details on how the
5252
#' metadata of a package is mapped to produce a `cff` object.
5353
#'
5454
#' @details

R/cff_write_misc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#' a backup copy in the same directory.
4141
#'
4242
#' @seealso
43-
#' `vignette("bibtex_cff", "cffr")`, [knitr::write_bib()] and the
43+
#' `vignette("bibtex-cff", package = "cffr")`, [knitr::write_bib()] and the
4444
#' following packages:
4545
#' - \CRANpkg{bibtex}.
4646
#' - \CRANpkg{RefManageR}

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
},
223223
"isPartOf": "https://ropensci.org",
224224
"keywords": ["attribution", "citation", "credit", "citation-files", "cff", "metadata", "citation-file-format", "cran", "r", "r-package", "ropensci", "rstats", "r-cran"],
225-
"fileSize": "1002.21KB",
225+
"fileSize": "1002.017KB",
226226
"citation": [
227227
{
228228
"@type": "ScholarlyArticle",

inst/REFERENCES.bib

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ @misc{fenner2021
6464
year = 2021,
6565
month = may,
6666
doi = {10.5438/a49j-x692},
67-
url = {https://blog.datacite.org/codemeta-we-need-your-feedback/},
67+
url = {https://datacite.org/blog/codemeta-we-need-your-feedback/},
6868
date = {2021-05-11},
6969
langid = {en}
7070
}
@@ -188,10 +188,12 @@ @inbook{rmarkdowncookbook2020
188188
}
189189
@misc{salmon2021,
190190
title = {Make Your {R} Package Easier to Cite},
191-
author = {Salmon, Ma\"{e}lle and Chamberlain, Scott and Ram, Karthik},
191+
author = {Salmon, {Ma\"{e}lle} and Chamberlain, Scott and Ram, Karthik},
192192
year = 2021,
193-
month = feb,
194-
url = {https://ropensci.org/blog/2021/02/16/package-citation/}
193+
month = {02},
194+
doi = {10.59350/yf89v-g8d70},
195+
url = {http://dx.doi.org/10.59350/yf89v-g8d70},
196+
date = {2021-02-16}
195197
}
196198
@misc{smith2021,
197199
title = {Enhanced support for citations on {GitHub}},

man/as_bibentry.Rd

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)